lot of metal changes, but no idea how this stuff works

This commit is contained in:
Dynamitos
2025-02-14 00:39:53 +01:00
parent 52cbdd8470
commit ee03b5fa5f
31 changed files with 335 additions and 157 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ void cullLights(ComputeShaderInput in)
float maxDepthWS = clipToWorld(float4(0, 0, fMaxDepth, 1)).z;
float nearClipWS = clipToWorld(float4(0, 0, 0, 1)).z;
Plane maxPlane = {float3(0, 0, -1), -maxDepthWS};
Plane maxPlane = {float4(0, 0, -1, -maxDepthWS)};
for ( uint i = in.groupIndex; i < pLightEnv.numPointLights; i += BLOCK_SIZE * BLOCK_SIZE )
{