{"schemaVersion":1,"requestedSlug":"ambient-occlusion","canonicalSlug":"ambient-occlusion","article":"/effect/ambient-occlusion","resource":"/api/public/atlas/effects/ambient-occlusion","effect":{"slide":121,"kind":"historical","decade":"2000s","funFact":"AO can show how open a point is to its surroundings.","body":[{"label":"Identify","text":"Corners, gaps and contact zones receive a soft, dark densification."},{"label":"Principle","text":"Fewer free surrounding directions mean less ambient lighting."},{"label":"Example","text":"GPU Gems: Ambient Occlusion Comparison."},{"label":"Try it out","text":"Compare two touching objects with and without AO."}],"caption":"AO/Accessibility Shading, GPU Gems, Fig. 17–3.","sourceUrl":"https://developer.nvidia.com/gpugems/gpugems/part-iii-materials/chapter-17-ambient-occlusion","name":"Ambient occlusion / AO","dating":"2000s: widespread in rendering and subsequently real-time graphics.","short":"Ambient Occlusion","image":"/images/fx/s121.webp","slug":"ambient-occlusion","context":["In 2004, GPU Gems documented ambient occlusion as a practical complement to material and lighting models. For each surface point, it estimates what proportion of its surroundings is obscured by geometry. This makes shape relationships and contacts more legible, even under simple lighting conditions. Later real-time versions calculate approximations from screen data or geometry. The 2000s mark this documented phase of widespread adoption, not an exclusive point of invention."],"distinction":"AO is a visibility approximation for ambient light, not a complete global illumination. Excessive intensity produces dirty edges and dark halos.","aftermath":"A subtle contact shadow can explain spatial relationships more clearly than more texture.","question":"Why is AO not a substitute for a directional lamp?","answer":"It describes the obscuring of the surroundings. A lamp, on the other hand, defines a specific direction of light with its own visibility and shadow.","sources":[{"label":"NVIDIA GPU Gems: Chapter 17, Ambient Occlusion","url":"https://developer.nvidia.com/gpugems/gpugems/part-iii-materials/chapter-17-ambient-occlusion"},{"label":"NVIDIA GPU Gems 2: Dynamic Ambient Occlusion","url":"https://developer.nvidia.com/gpugems/gpugems2/part-ii-shading-lighting-and-shadows/chapter-14-dynamic-ambient-occlusion-and"}],"credit":"Pharr / Green, GPU Gems / NVIDIA; official technical demonstration.","title":"Ambient Occlusion","font":"IBM Plex Mono","highlights":["Corners, gaps and contact zones","soft, dark densification","less ambient lighting"],"margin":[{"term":"ambient lighting","note":"Light arriving from the surrounding environment rather than just a single direct source."},{"term":"AO","note":"Short for ambient occlusion: an estimate of how nearby surfaces block surrounding light."}],"fontWeight":"400","fontCategory":"Monospace"},"gallery":[{"src":"https://upload.wikimedia.org/wikipedia/commons/0/03/Ambient_Occlusion.PNG?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","page":"https://commons.wikimedia.org/wiki/File:Ambient_Occlusion.PNG","title":"Ambient Occlusion","artist":"Philip Rideout","license":"CC BY-SA 3.0","note":"A curved white object sits on a blue surface. The dark shading where the object meets the floor demonstrates contact occlusion."},{"src":"https://upload.wikimedia.org/wikipedia/commons/8/8b/Screen_space_ambient_occlusion.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","page":"https://commons.wikimedia.org/wiki/File:Screen_space_ambient_occlusion.jpg","title":"Screen space ambient occlusion","artist":"Vlad3D at English Wikipedia","license":"Public domain","note":"A gray 3D scene features a character, a tank, and mountains. Darkened crevices in the face and terrain highlight geometry proximity."},{"src":"https://upload.wikimedia.org/wikipedia/commons/4/46/Church_Ambient_Occlusion.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","page":"https://commons.wikimedia.org/wiki/File:Church_Ambient_Occlusion.png","title":"Church Ambient Occlusion","artist":"Daniel Andersson","license":"CC0","note":"A brick wall section displays recessed window arches and corners. Soft shadows in the indentations increase the legibility of the architectural depth."},{"src":"https://upload.wikimedia.org/wikipedia/commons/b/b1/Show_how_3D_real_time_ambient_occlusion_works_2013-11-23_10-45.jpeg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","page":"https://commons.wikimedia.org/wiki/File:Show_how_3D_real_time_ambient_occlusion_works_2013-11-23_10-45.jpeg","title":"Show how 3D real time ambient occlusion works 2013-11-23 10-45","artist":"User:Snakkino","license":"CC BY-SA 3.0","note":"Three panels compare a geometric model with and without shading. The middle layer isolates the dark edges used to define contact zones."},{"src":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Ambient_occlusion.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","page":"https://commons.wikimedia.org/wiki/File:Ambient_occlusion.jpg","title":"Ambient occlusion","artist":"The original uploader was TheWusa at German Wikipedia.","license":"CC BY-SA 3.0","note":"A grid of white cubes features vertical pillars on a bright plane. Darker tones at the base of each cube show localized light obstruction."},{"src":"https://thumb.wikimedia.org/wikipedia/commons/thumb/f/f3/Tiles137D_8K-PNG_AmbientOcclusion.png/960px-Tiles137D_8K-PNG_AmbientOcclusion.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","page":"https://commons.wikimedia.org/wiki/File:Tiles137D_8K-PNG_AmbientOcclusion.png","title":"Tiles137D 8K-PNG AmbientOcclusion","artist":"ambientCG / Lennart Demes","license":"CC0","note":"This texture map displays faint, irregular tile outlines on a white background. It represents a baked data map for simulated surface depth."},{"src":"https://thumb.wikimedia.org/wikipedia/commons/thumb/5/59/Tiles134B_8K-PNG_AmbientOcclusion.png/960px-Tiles134B_8K-PNG_AmbientOcclusion.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","page":"https://commons.wikimedia.org/wiki/File:Tiles134B_8K-PNG_AmbientOcclusion.png","title":"Tiles134B 8K-PNG AmbientOcclusion","artist":"ambientCG / Lennart Demes","license":"CC0","note":"A clean grid pattern is shown with light gray lines. The darkening at intersection points simulates light trapping in a structured tile layout."},{"src":"https://thumb.wikimedia.org/wikipedia/commons/thumb/f/fa/Tiles136D_8K-PNG_AmbientOcclusion.png/960px-Tiles136D_8K-PNG_AmbientOcclusion.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","page":"https://commons.wikimedia.org/wiki/File:Tiles136D_8K-PNG_AmbientOcclusion.png","title":"Tiles136D 8K-PNG AmbientOcclusion","artist":"ambientCG / Lennart Demes","license":"CC0","note":"A map of square tiles shows thin, dark outlines around each unit. These soft edges define the separation of individual surfaces in a 3D material."}],"prompt":"Apply an ambient occlusion effect with soft, localized darkening in creases, recesses, narrow gaps, and points where surfaces touch. Build subtle neutral-toned contact shadows that fade smoothly outward, strengthening volume and grounding objects without black outlines, altered materials, or new directional lighting. Keep the original subject and composition."}