Interface: AmbientOcclusionOptions
Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT)
Properties
bentNormals?
optional
bentNormals:boolean
Enables bent normals computation from AO, and specular AO.
Default
false
Defined in
bias?
optional
bias:number
Self-occlusion bias in meters. Use to avoid self-occlusion. Between 0 and a few mm.
Default
0.0005
Defined in
bilateralThreshold?
optional
bilateralThreshold:number
Depth distance that constitutes an edge for filtering.
Default
0.05
Defined in
enabled?
optional
enabled:boolean
Enables or disables screen-space ambient occlusion.
Default
false
Defined in
intensity?
optional
intensity:number
Strength of the Ambient Occlusion effect.
Default
1.0
Defined in
lowPassFilter?
optional
lowPassFilter:QualityLevel
Affects AO smoothness.
Default
'MEDIUM'
Defined in
minHorizonAngleRad?
optional
minHorizonAngleRad:number
Minimum angle in radians to consider.
Default
0.0
Defined in
power?
optional
power:number
Controls ambient occlusion's contrast. Must be positive.
Default
1.0
Defined in
quality?
optional
quality:QualityLevel
Affects the number of samples used for AO.
Default
'LOW'
Defined in
radius?
optional
radius:number
Ambient Occlusion radius in meters, between 0 and ~10.
Default
0.3
Defined in
resolution?
optional
resolution:number
How each dimension of the AO buffer is scaled. Must be either 0.5 or 1.0.
Default
0.5
Defined in
upsampling?
optional
upsampling:QualityLevel
Affects AO buffer upsampling quality.
Default
'LOW'