Actually fixing pipeline cache
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user