From abb09342f4eb07fce007aaa138c21fa1090f4dd3 Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Mon, 21 Jun 2021 13:10:35 +0200 Subject: [PATCH] f1 vis --- Editor/Editor.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index d656b4721..6ef39c567 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -1931,6 +1931,19 @@ void EditorComponent::Compose(CommandList cmd) const { renderPath->Compose(cmd); + static bool asd = false; + if (wiInput::Press(wiInput::KEYBOARD_BUTTON_F1)) + { + asd = !asd; + } + if (asd) + { + wiImageParams fx; + fx.enableFullScreen(); + fx.blendFlag = BLENDMODE_OPAQUE; + wiImage::Draw(&renderPath->rtChamferedNormals, fx, cmd); + } + if (cinemaModeCheckBox.GetCheck()) { return;