Skip to content

Ambient Occlusion Override

JordanL8 edited this page Mar 26, 2019 · 2 revisions

The Ambient Occlusion override is a real-time, full-screen lighting effect available in the High Definition Render Pipeline (HDRP). This effect approximates ambient occlusion in the current field of view. To achieve this, it darkens creases, holes, intersections, and surfaces that are close to one another. In real life, these areas tend to block out, or occlude, ambient light, and therefore appear darker.

Using Ambient Occlusion

Ambient Occlusion uses the Volume framework, so to enable and modify Ambient Occlusion properties, you must add an Ambient Occlusion override to a Volume in your Scene. To add Ambient Occlusion to a Volume:

  1. Select the Volume component in the Scene or Hierarchy to view it in the Inspector.
  2. In the Inspector, navigate to Add Override > Lighting and click on Ambient Occlusion. HDRP now applies Ambient Occlusion to any Camera this Volume affects.

Properties

Property Description
Intensity Use this slider to set the strength of the ambient occlusion effect.
Thickness Modifier Use this slider to modify the thickness of occluders. This increases the size of dark areas, but can potentially introduce dark halos around Meshes.
Direct Lighting Strength Use this slider to change how much the ambient lighting affects occlusion.

Details

Ambient occlusion is a screen-space effect, so it only processes what is on the screen at a given point in time. This means that objects outside of the field of view cannot visually occlude objects in the view. You can sometimes see this on the edges of the screen.

Clone this wiki locally
You can’t perform that action at this time.