Log inGet started
Package

ao_light_temporal.computeShader

Newest version

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

namekind
scene_depthtexture_depth
ao_light_rawtexture2d
ao_light_historytexture2d
ao_historytexture2d
frame_cambuffer
ao_paramsbuffer
ao_statebuffer
ao_light_resolvedstorage2d (rgba16f)