Depth rendering of terrain works

This commit is contained in:
Dynamitos committed 2023-11-10 19:18:09 +01:00
1 parent effb0c6214
commit c30619d07d
28 files changed
+298 -502

No files matched your search

+2
View File
@@ -6,6 +6,7 @@
#include "Asset/AssetRegistry.h"
#include "System/LightGather.h"
#include "System/MeshUpdater.h"
#include "System/CameraUpdater.h"
using namespace Seele;
@@ -76,6 +77,7 @@ void GameView::reloadGame()
gameInterface.getGame()->setupScene(scene, systemGraph);
systemGraph->addSystem(new System::LightGather(scene));
systemGraph->addSystem(new System::MeshUpdater(scene));
systemGraph->addSystem(new System::CameraUpdater(scene));
}
void GameView::keyCallback(KeyCode code, InputAction action, KeyModifier)