forked from Dynamitos/Seele
Removing limit for point lights
This commit is contained in:
1 parent
f9a89f6592
commit
36aec0fa06
8 files changed
+76
-16
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, maxDepthVS))
|
||||
{
|
||||
tAppendLight(i);
|
||||
if(!light.insidePlane(minPlane))
|
||||
@@ -131,6 +131,4 @@ void cullLights(ComputeShaderInput in)
|
||||
{
|
||||
pCullingParams.tLightIndexList[tLightIndexStartOffset + k] = tLightList[k];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user