ao_light_filter.computeShader
- README.md586 B
- bindings.yaml223 B
- shader.wgsl2.8 KB
This package holds more than this page lists. See all of its files in its world.
README.md
ao_light_filter
Lifts the accumulated indirect light from the estimate's grid to the frame and
writes the scene's indirect channel (@scene.indirect), which a material's
diffuse term reads at its own pixel the same frame. Each grid tap is weighed by
how close the depth of the surface it describes is to the pixel's own, so light
does not cross a silhouette.
Includes
ao_grid
Bindings
| name | kind |
|---|---|
scene_depth | texture_depth |
ao_light_resolved | texture2d |
ao_resolved | texture2d |
scene_indirect | storage2d (rgba16f) |