rt: fix uninitialized memory denoiser glitches

was reading garbage when ray doesn't hit anything
This commit is contained in:
Ivan 'provod' Avdeev 2023-02-08 09:34:40 -08:00
parent 19c4e2a1d8
commit 62720a7ed3

View File

@ -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.);