forked from Dynamitos/Seele
More light culling fixes
This commit is contained in:
1 parent
18d22aeb4f
commit
829c4937c0
4 files changed
+18
-10
No files matched your search
@@ -99,7 +99,7 @@ void cullLights(ComputeShaderInput in)
|
||||
{
|
||||
PointLight light = pLightEnv.pointLights[i];
|
||||
//TODO: why doesn't this check go through?
|
||||
if(light.insideFrustum(groupFrustum, nearClipVS, maxDepthVS))
|
||||
if(light.insideFrustum(groupFrustum, nearClipVS))
|
||||
{
|
||||
tAppendLight(i);
|
||||
if(!light.insidePlane(minPlane))
|
||||
|
||||
Reference in new issue
Block a user