Part

Ambient occlusion

You might say: AO, contact darkening, cavity

Ambient occlusion darkens a point when nearby geometry blocks broad ambient light. It is a scale-dependent cue for creases, contacts and small cavities.

What it does
Adds local grounding where a wall meets ground, foliage meets soil or a prop meets a surface.
Ask
Is this darkening a real occluded crevice at the chosen scale, or an effect painted over the scene?
Typical
Keep AO subtle, on top of the main lighting. Set its radius to the scale of the creases and contacts it should darken.
Trouble
Dark halos appear around objects when screen-space AO, which knows only the depth buffer, treats a thin object as a thick occluder or its thickness or distance setting is too high. Strong AO darkens the whole scene instead of its creases.

What to look for

  1. Dark creases where walls meet the ground
  2. A soft contact patch beneath a prop
  3. A dark halo around an object reveals screen-space AO that overestimates occluder thickness
  4. Dirt stains and AO can be compared in a material debug view

Catalogue: AO method

Pattern

Accumulation at edges and corners

Connections

Sources

  1. Unity Technologies, Screen space ambient occlusion in URP, Introduction to screen space ambient occlusion in URPIn the real world, such areas tend to block out or occlude ambient light, so they appear darker.
  2. Brian Karis, Real Shading in Unreal Engine 4, Material Model, p. 9Cavity is used to specify shadowing from geometry smaller than our run-time shadowing system can handle
  3. Epic Games, Ambient Occlusion (Unreal Engine 4.27 Documentation), Ambient OcclusionThis is generally best used as a subtle effect, in addition to standard global illumination, that darkens corners, crevices, or other features to create a more natural, realistic look.
  4. Epic Games, Ambient Occlusion (Unreal Engine 4.27 Documentation), Ambient Occlusion: DistanceA tweak parameter that is needed to avoid dark halos around objects. As the SSAO technique only has the zbuffer, it cannot know about the thickness of objects.
  5. Unity Technologies, Ambient Occlusion (Post Processing 3.4), Multi-scale Volumetric Occlusion: PropertiesModify the thickness of occluders. This increases dark areas but can introduce dark halos around objects.
  6. Unity Technologies, Ambient Occlusion (Post Processing 3.4), Scalable Ambient Obscurance: PropertiesSet the radius of sample points, which controls the extent of darkened areas.

Use it on your project

teardown-apply: hold "Ambient occlusion" (ambient-occlusion) from the teardown at https://teardownatlas.com/environment-art/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal