Actually fixing pipeline cache

This commit is contained in:
2025-07-12 13:50:31 +02:00
parent 750dcf8318
commit 106dfe0423
5 changed files with 35 additions and 28 deletions
+6
View File
@@ -1,5 +1,7 @@
#include "PlayView.h"
#include "Component/Mesh.h"
#include "Graphics/Enums.h"
#include "MinimalEngine.h"
#include "Window/Window.h"
using namespace Seele;
@@ -34,6 +36,10 @@ void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
getGlobals().useLightCulling = !getGlobals().useLightCulling;
std::cout << "Use Light Culling " << getGlobals().useLightCulling << std::endl;
}
if(code == KeyCode::KEY_K && action == InputAction::RELEASE) {
getGlobals().useImagebasedLighting = !getGlobals().useImagebasedLighting;
std::cout << "Use IBL " << getGlobals().useImagebasedLighting << std::endl;
}
if (code == KeyCode::KEY_G && action == InputAction::RELEASE) {
Component::Camera cam;
Component::Transform tra;