svgf_temporal.computeShader
- README.md876 B
- bindings.yaml795 B
- shader.wgsl13.3 KB
This package holds more than this page lists. See all of its files in its world.
README.md
svgf_temporal
The temporal pass of the SVGF denoiser. Each texel finds where its surface
stood on the frame before through the frame's motion (@scene.motion), takes
each of the four history texels there that held a surface facing the same way
at the same view distance, and blends this frame's sample into the estimate it
carries, evenly over the frames it holds up to the denoiser's history length. A
fast estimate of the luminance over a few frames replaces the long one where they part by more than its noise, so a
change of light shows within those few frames. It writes the estimate with the
variance of its luminance (from the luminance moments it keeps, or from the
3x3 around the texel where it holds under four frames), the moments and the
frames held, and the surface's view distance and normal, which the next frame
of the same view reads back as its history.