Fixing basepass light culling data

This commit is contained in:
Dynamitos committed 2024-02-21 10:30:04 +01:00
1 parent 99ee991bf5
commit 15813ba612
9 files changed
+43 -54

No files matched your search

-1
View File
@@ -99,7 +99,6 @@ void cullLights(ComputeShaderInput in)
{
PointLight light = pLightEnv.pointLights[i];
float3 lightClip = light.getClipPosition();
//TODO: why doesn't this check go through?
if(light.insideFrustum(groupFrustum, lightClip, nearClip, maxDepth))
{
tAppendLight(i);