mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
rt: fix uninitialized memory denoiser glitches
was reading garbage when ray doesn't hit anything
This commit is contained in:
parent
19c4e2a1d8
commit
62720a7ed3
@ -62,6 +62,7 @@ void main() {
|
||||
|
||||
RayPayloadPrimary payload;
|
||||
payload.hit_t = vec4(0.);
|
||||
payload.prev_pos_t = vec4(0.);
|
||||
payload.base_color_a = vec4(0.);
|
||||
payload.normals_gs = vec4(0.);
|
||||
payload.material_rmxx = vec4(0.);
|
||||
|
Loading…
Reference in New Issue
Block a user