+ | Patching opti's problem

This commit is contained in:
TheRedShip
2025-01-19 15:48:25 +01:00
parent d0d67b8bd7
commit 71df788350
6 changed files with 2636 additions and 2870 deletions

View File

@ -186,6 +186,7 @@ vec3 pathtrace(Ray ray, inout uint rng_state)
break;
ray = newRay(hit, ray, rng_state);
ray.inv_direction = 1.0 / ray.direction;
}
return (color * light);