Contact shadows in corners and creases from scene depth and normals, on top of Lumen.
| Studio category | Scene |
|---|
| Pipeline stage | Scene (scene-linear HDR, before the tonemapper) |
|---|
| Default position | 1 in its stage |
|---|
| Works in | Live views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level |
|---|
| C++ / Blueprint | FGradeLayer::Effects.AmbientOcclusion (FGradeAmbientOcclusion) |
|---|
Manual: Ambient Occlusion. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
#Parameters
Screen-space ambient occlusion added ON TOP of Lumen: horizon-based GTAO-style occlusion from scene depth and GBuffer normals, applied to scene-linear colour before the tonemapper (live only; Image mode ignores it). Visibility Bitmask method (default), bent normals, temporal + spatial denoise, half / full resolution, Indirect apply mode.
| Parameter | Blueprint path | Values | Default | Description |
|---|
| Enabled | Effects.AmbientOcclusion.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Intensity | Effects.AmbientOcclusion.Intensity | 0..100 | 50 | 0..100 |
| Radius | Effects.AmbientOcclusion.Radius | 5..500 cm | 60 | World radius in cm. |
| Power | Effects.AmbientOcclusion.Power | 0.5..4 | 1.5 | Contrast of the occlusion curve, 0.5..4. |
| Contact Shadows | Effects.AmbientOcclusion.ContactShadows | 0..100 | 30 | Small-scale contact shadows (second, tight radius), 0..100. |
| Fade Distance | Effects.AmbientOcclusion.FadeDistance | >= 0 cm (slider to 50000) | 8000 | Occlusion fades out beyond this distance from the camera (cm, 0 = never). |
| Thickness | Effects.AmbientOcclusion.Thickness | 1..200 cm | 30 | Assumed object thickness in cm (Visibility Bitmask: the real depth behind every visible surface, light passes beyond it; GTAO: fades halos behind thin objects). |
| Multi Bounce | Effects.AmbientOcclusion.MultiBounce | on/off | on | Multi-bounce colour (occlusion tinted by the surface colour; physically brighter on light surfaces). |
| Tint | Effects.AmbientOcclusion.Tint.R/G/B/A | colour | black | Tint of the occluded areas (alpha unused). |
| Protect Highlights | Effects.AmbientOcclusion.ProtectHighlights | 0..100 | 60 | Keep bright / emissive pixels (All light) or sunlit surfaces (Indirect light) un-occluded, 0..100. |
| Quality | Effects.AmbientOcclusion.Quality | 0..3, integer | 2 | Directions x steps quality preset 0..3 (scaled by grade.Quality). |
| Show Only | Effects.AmbientOcclusion.ShowOnly | on/off | off | Show the occlusion buffer alone (debug). |
| Method | | EGradeAOMethod | Visibility Bitmask (VBAO) | Occlusion method: Visibility Bitmask (thickness-aware, AAA default) or the classic GTAO horizon search. |
| Apply Mode | | EGradeAOApplyMode | Indirect light (keep sunlit) | Which light the occlusion darkens: all of it, or the indirect-looking part (sunlit surfaces stay bright). |
Denoise
| Parameter | Blueprint path | Values | Default | Description |
|---|
| Resolution | | EGradeAOResolution | Half | Resolution of the occlusion pass (Half is upsampled with depth awareness; contact shadows are always full resolution). |
| Temporal Denoise | Effects.AmbientOcclusion.TemporalDenoise | on/off | on | Accumulate the occlusion over frames (reprojected with motion vectors, disocclusions rejected): far less noise. |
| Temporal Stability | Effects.AmbientOcclusion.TemporalStability | 0..100 | 60 | How many frames the temporal denoise averages, 0..100 (higher = smoother but slower to react; 60 = about 13 frames). |
| Spatial Denoise | Effects.AmbientOcclusion.SpatialDenoise | 0..100 | 50 | Edge-aware spatial blur, 0..100 (50 = the preset radius, 0 = off; it shrinks where the temporal history has converged). |
Advanced
| Parameter | Blueprint path | Values | Default | Description |
|---|
| Normals | | EGradeAONormals | Auto (GBuffer / depth) | Normals the occlusion is measured around (Auto uses depth normals with Substrate's Adaptive GBuffer format or forward shading). |
Debug
| Parameter | Blueprint path | Values | Default | Description |
|---|
| Debug View | | EGradeAODebugView | Occlusion | Buffer shown by Show Occlusion Only. |
#Enumerations
#AO Method (EGradeAOMethod)
| Value | Meaning |
|---|
| GTAO (horizon) | Horizon-based GTAO (Jimenez 2016): the classic method; thickness is a heuristic. |
| Visibility Bitmask (VBAO) | Visibility Bitmask (Therrien 2023): 32 sectors per slice, real object thickness, light passes between thin layers. |
#AO Resolution (EGradeAOResolution)
| Value | Meaning |
|---|
| Half | Half resolution, depth-aware upsample (fast). |
| Full | Full resolution (sharpest, about 3-4x the cost of the occlusion pass). |
#AO Normals (EGradeAONormals)
| Value | Meaning |
|---|
| Auto (GBuffer / depth) | GBuffer normals (normal-map detail) when the project uses the deferred GBuffer (Substrate's Blendable GBuffer included); depth normals with Substrate's Adaptive GBuffer or forward shading. |
| Depth | Normals rebuilt from the scene depth (geometry only, works everywhere). |
#AO Apply Mode (EGradeAOApplyMode)
| Value | Meaning |
|---|
| All light (classic) | Darken all light (classic SSAO); Protect Highlights keeps bright / emissive pixels. |
| Indirect light (keep sunlit) | Darken the ambient (indirect-looking) light: sunlit surfaces facing the sun keep their brightness (Protect Highlights sets how much). |
#AO Debug View (EGradeAODebugView)
| Value | Meaning |
|---|
| Occlusion | The final occlusion (denoised, with contact shadows, multi-bounce and tint). |
| Raw occlusion (no denoise) | The occlusion before the temporal and spatial denoise. |
| Bent normals | Bent normals (mean unoccluded direction, view space: red = right, green = up, blue = towards the camera). |
| Normals | Surface normals used by the occlusion (view space, same colours). |
| History weight | Temporal history weight: red = fresh / disoccluded, green = converged. |
Generated from the GRADE C++ headers. Back to the reference index.