Your work is awesome!
Your work is awesome!
The cosine is applied twice - once in the radiance/target function, and again in the BRDF evaluation. In restir_gi.wgsl - target function calculation and In restir_gi.wgsl - final shading.
The cosine is applied twice - once in the radiance/target function, and again in the BRDF evaluation. In restir_gi.wgsl - target function calculation and In restir_gi.wgsl - final shading.