forked from Dynamitos/Seele
Fixing basepass light culling data
This commit is contained in:
1 parent
99ee991bf5
commit
15813ba612
9 files changed
+43
-54
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user