~ | Sorry for leaving an issue known from 1 week

This commit is contained in:
TheRedShip
2025-03-03 15:36:40 +01:00
parent 74a23e9933
commit 77805cb7df

View File

@ -216,7 +216,7 @@ vec3[2] pathtrace(Ray ray, inout uint rng_state)
color /= max(p, 0.001);
GPUMaterial mat = materials[hit.mat_index];
calculateLightColor(mat, hit, color, light, rng_state, ray);
calculateLightColor(mat, hit, color, light, rng_state);
if (mat.emission > 0.0 && mat.emission_texture_index == -1)
break;