rt backface culling

This commit is contained in:
Dynamitos committed 2025-01-29 21:55:11 +01:00
1 parent 09660ab642
commit 44b147084b
7 files changed
+65 -25

No files matched your search

+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) {
//}
}