AmbientOcclusionOptions

Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT).

Ambient occlusion darkens crevices and contact points, adding realism and depth to scenes.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard
class Gtao

Ground-Truth-based Ambient Occlusion options.

Link copied to clipboard
class Ssct

Screen Space Cone Tracing options for ambient shadows.

Properties

Link copied to clipboard

Type of ambient occlusion algorithm. Default: AmbientOcclusionType.SAO.

Link copied to clipboard

Enable bent normals computation from AO, and specular AO. Default: false.

Link copied to clipboard
var bias: Float

Self-occlusion bias in meters. Use to avoid self-occlusion. Between 0 and a few mm. No effect when aoType is set to GTAO. Default: 0.0005.

Link copied to clipboard

Depth distance that constitutes an edge for filtering. Default: 0.05.

Link copied to clipboard

Enable or disable screen-space ambient occlusion. Default: false.

Link copied to clipboard

Ground-Truth-based Ambient Occlusion tuning. Only takes effect when aoType is AmbientOcclusionType.GTAO.

Link copied to clipboard

Strength of the Ambient Occlusion effect. Default: 1.0.

Link copied to clipboard

Affects AO smoothness. Recommended setting to HIGH when aoType is set to GTAO. Default: MEDIUM.

Link copied to clipboard

Minimum angle in radians to consider. No effect when aoType is set to GTAO. Default: 0.0.

Link copied to clipboard

Controls ambient occlusion's contrast. Must be positive. Default: 1.0.

Link copied to clipboard

Affects number of samples used for AO and parameters for filtering. Default: LOW.

Link copied to clipboard

Ambient Occlusion radius in meters, between 0 and ~10. Default: 0.3.

Link copied to clipboard

How each dimension of the AO buffer is scaled. Must be either 0.5 or 1.0. Default: 0.5.

Link copied to clipboard

Screen Space Cone Tracing (SSCT) options for ambient shadows from dominant light.

Link copied to clipboard

Affects AO buffer upsampling quality. Default: LOW.