> For the complete documentation index, see [llms.txt](https://docs.d5render.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.d5render.com/user-guide/effect/how-is-ao-used-in-style-what-effects-can-be-achieved.md).

# How is AO used in Style? What effects can be achieved?

AO controls the effect of occluding ambient diffuse light around objects when they intersect or come close, enhancing the sense of depth and realism in space. It also strengthens the contrast between light and shadows in an image. You can directly output an image in AO mode or export an AO channel map.

<div align="left"><figure><img src="/files/0f2CMbIf1pdu2MPwbDEq" alt="" width="563"><figcaption><p>AO Effect</p></figcaption></figure></div>

* Radius: Users can customize the AO radius to control the strength of occluding ambient diffuse light around objects when they intersect or come close.
* AO Overlay in Preview: When enabled, adjusting the slider can fine-tune the weight of the AO effect in the image, enhancing details in corners and edges without the need for post-processing software to overlay the AO channel and the image.

<div align="left"><figure><img src="/files/dkXmtHcG3rGTDuiCCcDF" alt=""><figcaption><p>AO Overlay in Preview</p></figcaption></figure></div>

<div data-full-width="false"><figure><img src="/files/abOF106xcZAWdjXrlFHj" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/llM9ZyzTGBLrQEjuxs7W" alt=""><figcaption><p>Enable AO Overlay in Preview</p></figcaption></figure>
