ao_light_temporal.computeShader
- README.md1.0 KB
- bindings.yaml483 B
- shader.wgsl5.3 KB
This package holds more than this page lists. See all of its files in its world.
README.md
ao_light_temporal
Carries the indirect light ao_pass_indirect gathers across the renders of each
view, the way ao_temporal carries the occlusion. A texel finds its surface in
the view's previous render through the previous view-projection and takes that
history only where the depth the occlusion accumulation remembers there is its
own surface's; the history is bounded by this render's 3x3 neighbourhood, so
light that changed where the depth did not is pulled back to what the estimate
sees now. The light holds over twice the renders the occlusion does, since each
walk carries fewer samples of it.
The accumulation is a history target: each view reads and writes its own.
Includes
ao_grid
Bindings
| name | kind |
|---|---|
scene_depth | texture_depth |
ao_light_raw | texture2d |
ao_light_history | texture2d |
ao_history | texture2d |
frame_cam | buffer |
ao_params | buffer |
ao_state | buffer |
ao_light_resolved | storage2d (rgba16f) |