Ambient occlusion

IntermediateArtist

Note

As with other depth-aware post effects, enabling ambient occlusion nullifies MSAA (multisample anti-aliasing).

Ambient occlusion darkens areas where light is occluded by opaque objects, such as corners and crevices. You can use it to add subtle realism to scenes.

Properties

Properties

PropertyFunction
SamplesThe number of pixels sampled to determine how occluded a point is. Higher values reduce noise, but affect performance. Use with Blur count to find a balance between results and performance.
Projection scaleScales the sample radius. In most cases, 1 (no scaling) produces the most accurate result.
IntensityThe strength of the darkening effect in occluded areas
Sample biasThe angle at which Xenko considers an area of geometry an occluder. At high values, only narrow joins and crevices are considered occluders.
Sample radiusUse with projection scale to control the radius of the occlusion effect
Blur countThe number of times the ambient occlusion image is blurred. Higher numbers reduce noise, but can produce artifacts.
Blur scaleThe blur radius in pixels
Edge sharpnessHow much the blur respects the depth differences of occluded areas. Lower numbers create more blur, but might blur unwanted areas (ie beyond occluded areas).
Buffer sizeThe resolution the ambient occlusion is calculated at. The result is upscaled to the game resolution. Larger sizes produce better results but use more memory and affect performance.

See also