Basic light culling but without the culling

This commit is contained in:
Dynamitos committed 2021-06-12 18:51:29 +02:00
1 parent 22adb08bfc
commit 7f019a28b4
17 files changed
+122 -63

No files matched your search

@@ -54,6 +54,10 @@ private:
Gfx::PPipelineLayout basePassLayout;
// Set 0: Light environment
static constexpr uint32 INDEX_LIGHT_ENV = 0;
Gfx::PStructuredBuffer directLightBuffer;
Gfx::PUniformBuffer numDirLightBuffer;
Gfx::PStructuredBuffer pointLightBuffer;
Gfx::PUniformBuffer numPointLightBuffer;
Gfx::PStructuredBuffer oLightIndexList;
Gfx::PTexture oLightGrid;
Gfx::PDescriptorLayout lightLayout;