Log inGet started
Package

ao_common.shaderModule

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

ao_common

The prelude both ambient-occlusion estimators are written against: the settings in ao_params, the frame the sampling pattern turns to, the surface at a pixel (its world position, and its normal reconstructed from this frame's depth), the pixel span of a world-space radius read off the drawn camera's projection, and the store of the occlusion and the bent normal. It includes ao_grid.

An estimator includes this and supplies only its own estimate:

#include "@builtin::systems.ambientOcclusion.ao_common"