Acceleration structures suck

This commit is contained in:
Dynamitos
2025-02-25 15:31:14 +01:00
parent 65bc1c78c7
commit 961cb527af
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ kernel void computeKernel(
if (payload.depth > 5)
{
if (payload.rnd01.z >= p)
return;
break;
else
payload.accumulatedMaterial /= p;
}