Builtin Library
- ..
- README.md929 B
- bindings.yaml351 B
- shader.wgsl3.0 KB
README.md
denoise_atrous_rgba16f
One à-trous wavelet pass: a 5x5 gather whose taps are spread by step, weighted
by how much the neighbour's normal and world position agree with the centre's.
Running it with a doubling step each iteration widens the filter without widening
the tap count.
Writes rgba16f; the pair of these covers the formats a filter is built for.
Bindings
| name | kind | what it is |
|---|---|---|
dn_src | texture2d | the noisy signal this pass reads |
scene_depth | texture_depth | depth, for the world-position weight |
scene_normal | texture2d | normals, for the orientation weight |
frame_cam | buffer (read, vec4) | the camera, for reconstructing world position |
dn_settings | buffer (read, vec4) | (step, normalSharpness, worldSigma, _) — what makes this iteration different from the last |
dn_dst | storage2d (rgba16f) | the filtered result |