Some more cleanup

This commit is contained in:
Alexander Bock
2025-10-28 15:53:05 +01:00
parent 730f206e5e
commit 02fc614256
5 changed files with 167 additions and 147 deletions

View File

@@ -252,12 +252,14 @@ private:
} _downscaleVolumeRendering;
struct ShadowMap {
std::map<std::string, std::vector<std::string>> shadowGroups;
std::map<std::string, GLuint> depthMaps;
std::map<std::string, GLuint> fbos;
std::map<std::string, glm::dmat4> viewports;
const SceneGraphNode* lightsource = nullptr;
std::vector<std::string> shadowGroups;
GLuint depthMap = 0;
glm::ivec2 depthMapResolution = glm::ivec2(0);
GLuint fbo = 0;
glm::dmat4 viewProjectionMatrix = glm::dmat4(1.0);
};
std::map<const SceneGraphNode*, ShadowMap> _shadowMaps;
std::map<std::string, ShadowMap> _shadowMaps;
unsigned int _pingPongIndex = 0u;