Finished writeup and fixed crashes

This commit is contained in:
Dynamitos committed 2021-10-19 23:04:38 +02:00
1 parent a0693daa67
commit 451572f254
36 files changed
+295 -375

No files matched your search

+2 -1
View File
@@ -105,7 +105,8 @@ void cullLights(ComputeShaderInput in)
for ( uint i = in.groupIndex; i < numPointLights; i += BLOCK_SIZE * BLOCK_SIZE )
{
PointLight light = pointLights[i];
if(light.insideFrustum(groupFrustum, nearClipVS, maxDepthVS))
//TODO: why doesn't this check go through?
//if(light.insideFrustum(groupFrustum, nearClipVS, maxDepthVS))
{
tAppendLight(i);
if(!light.insidePlane(minPlane))