rt backface culling

This commit is contained in:
Dynamitos
2025-01-29 21:55:11 +01:00
parent 09660ab642
commit 44b147084b
7 changed files with 65 additions and 25 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
#include "PlayView.h"
#include "Window/Window.h"
#include "Component/Mesh.h"
#include "Window/Window.h"
using namespace Seele;
using namespace Seele::Editor;
@@ -49,4 +49,6 @@ void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
if (code == KeyCode::KEY_R && action == InputAction::RELEASE) {
getGlobals().useRayTracing = !getGlobals().useRayTracing;
}
//if (code == KeyCode::KEY_B && action == InputAction::RELEASE && modifier & KeyModifier::MOD_CONTROL) {
//}
}