---
title: screenSpaceAmbientOcclusionNormalThreshold
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scncamera/screenspaceambientocclusionnormalthreshold
---

# screenSpaceAmbientOcclusionNormalThreshold

The magnitude of the blur effect applied to create ambient occlusion shadows.

## Declaration

```swift
var screenSpaceAmbientOcclusionNormalThreshold: CGFloat { get set }
```

## Discussion

Discussion Ambient occlusion is an effect that improves material shading by calculating the amounts of ambient light that reach various parts of a surface, creating shadows on parts of a geometry where incoming light is obscured by other parts of the geometry. (You can provide pre-rendered ambient occlusion effects for a material using its ambientOcclusion property.) Screen-space ambient occlusion (SSAO) provides a real-time approximation of this effect for the entire scene viewed through the camera. SSAO shadowing includes a blur effect to realistically soften differences in shadow between adjacent pixels, which depends on both the smoothness of scene geometry and this factor. Larger blur factors create a softer, more spread-out blur; smaller factors create coarser shadowing effects.

## See Also

### Adding Screen-Space Ambient Occlusion

- [screenSpaceAmbientOcclusionIntensity](scenekit/scncamera/screenspaceambientocclusionintensity.md)
- [screenSpaceAmbientOcclusionRadius](scenekit/scncamera/screenspaceambientocclusionradius.md)
- [screenSpaceAmbientOcclusionBias](scenekit/scncamera/screenspaceambientocclusionbias.md)
- [screenSpaceAmbientOcclusionDepthThreshold](scenekit/scncamera/screenspaceambientocclusiondepththreshold.md)
