docs/android/dokka/filament-android/com.google.android.filament/-view/-ambient-occlusion-options/index.md
//filament-android/com.google.android.filament/View/AmbientOcclusionOptions
open class AmbientOcclusionOptions
Options for screen space Ambient Occlusion (SSAO) and Screen Space Cone Tracing (SSCT)
| setAmbientOcclusionOptions |
| AmbientOcclusionOptions | [main] |
| constructor() |
| Name | Summary |
|---|---|
| AmbientOcclusionType | [main] |
| enum AmbientOcclusionType |
| Name | Summary |
|---|---|
| aoType | [main] |
| open var aoType: View.AmbientOcclusionOptions.AmbientOcclusionType | |
| Type of ambient occlusion algorithm. | |
| bentNormals | [main] |
| open var bentNormals: Boolean | |
| enables bent normals computation from AO, and specular AO | |
| bias | [main] |
| open var bias: Float | |
| Self-occlusion bias in meters. | |
| bilateralThreshold | [main] |
| open var bilateralThreshold: Float | |
| depth distance that constitute an edge for filtering | |
| enabled | [main] |
| open var enabled: Boolean | |
| enables or disables screen-space ambient occlusion | |
| gtaoConstThickness | [main] |
| open var gtaoConstThickness: Float | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| gtaoLinearThickness | [main] |
| open var gtaoLinearThickness: Boolean | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| gtaoSampleSliceCount | [main] |
| open var gtaoSampleSliceCount: Int | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| gtaoSampleStepsPerSlice | [main] |
| open var gtaoSampleStepsPerSlice: Int | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| gtaoThicknessHeuristic | [main] |
| open var gtaoThicknessHeuristic: Float | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| gtaoUseVisibilityBitmasks | [main] |
| open var gtaoUseVisibilityBitmasks: Boolean | |
| Ground Truth-base Ambient Occlusion (GTAO) options | |
| intensity | [main] |
| open var intensity: Float | |
| Strength of the Ambient Occlusion effect. | |
| lowPassFilter | [main] |
| open var lowPassFilter: View.QualityLevel | |
| affects AO smoothness. | |
| minHorizonAngleRad | [main] |
| open var minHorizonAngleRad: Float | |
| min angle in radian to consider. | |
| power | [main] |
| open var power: Float | |
| Controls ambient occlusion's contrast. | |
| quality | [main] |
| open var quality: View.QualityLevel | |
| affects of samples used for AO and params for filtering | |
| radius | [main] |
| open var radius: Float | |
| Ambient Occlusion radius in meters, between 0 and ~10. | |
| resolution | [main] |
| open var resolution: Float | |
| How each dimension of the AO buffer is scaled. | |
| ssctContactDistanceMax | [main] |
| open var ssctContactDistanceMax: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctDepthBias | [main] |
| open var ssctDepthBias: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctDepthSlopeBias | [main] |
| open var ssctDepthSlopeBias: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctEnabled | [main] |
| open var ssctEnabled: Boolean | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctIntensity | [main] |
| open var ssctIntensity: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctLightConeRad | [main] |
| open var ssctLightConeRad: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctLightDirection | [main] |
| open var ssctLightDirection: Array<Float> | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctRayCount | [main] |
| open var ssctRayCount: Int | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctSampleCount | [main] |
| open var ssctSampleCount: Int | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| ssctShadowDistance | [main] |
| open var ssctShadowDistance: Float | |
| Screen Space Cone Tracing (SSCT) options Ambient shadows from dominant light | |
| upsampling | [main] |
| open var upsampling: View.QualityLevel | |
| affects AO buffer upsampling quality |