Builtin Library
- ..
- README.md502 B
- bindings.yaml227 B
- shader.wgsl2.9 KB
README.md
probegi_visibility
Folds a frame's rays into the visibility atlas. Each texel of a probe's 16 x 16 octahedral tile (18 x 18 with its border) holds the mean distance and the mean squared distance the probe's rays travel near that direction, weighted by a power of the cosine. A ray that hit the back of a surface counts as a fifth of its distance. The pair blends into the texel's previous value by the visibility hysteresis and is taken outright for a probe whose cell entered the field this frame.