- Qt 3D Studio
- Best Practices
- Screen Space AO
- Qt 3D Studio 2.8 Manual

# Screen Space AO

Screen space ambient occlusion efficiently approximates the ambient occlusion of you layer in real time. It is independent from the layers complexity and works with dynamic scenes.

Pros | Cons
--- | ---

- Independent from scene complexity.
- No data pre-processing needed.
- Works with dynamic scenes.
- Works in the same consistent way for every pixel on the screen.
- No CPU usage.

- Rather local and in many cases view-dependent, as it is dependent on adjacent texel depths which may be generated by any geometry whatsoever.
- Hard to correctly smooth/blur out the noise without bleeding onto objects.

Property | Description
--- | ---
Filter Size | Controls the shadows size.
Distance Scale | How strong the shadows are.
Distance Bias | Controls distance offset.

## Usage

The layer which the effect is applied to requires depth prepass for the effect to work. Make sure in your layer's advanced options "disable depth prepass" is unchecked.