test: try uniform buffers

This commit is contained in:
2025-10-23 22:42:54 +02:00
parent 337da2b3b7
commit 1440fd847c
2 changed files with 22 additions and 8 deletions

View File

@ -8,6 +8,8 @@
#include "engine/export.h"
#include "engine/components/light.h"
#include "engine/opengl/buffers.h"
namespace Core {
// TODO: make static or singleton
@ -26,6 +28,8 @@ private:
void GenerateShadowMaps();
void EnsureShadowResources(light& l);
private:
OpenGL::UniformBuffer m_uniform_matrices;
Shader m_shader;
Shader m_depthShader;