# Screen Space Ambient Occlusion (SSAO)

SSAO helps to manage the occlusion of the environment through the screen effect. Occlusion is a shadow that occurs as a result of multiple reflection of the light beam between two planes that are located at an angle of less than 180 degrees relative to each other.

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2Ft2NRBOSlSDvhpWI4423t%2Fimage.png?alt=media&#x26;token=b235edbd-af23-4ad4-9b8e-681b278a6a32" alt=""><figcaption></figcaption></figure>

SSAO works with shading at the intersection of two planes. It helps to achieve a more realistic picture.

The effect of self-shadowing can be created using Materials and  the Ambient Occlusion parameter (for more information, go to  the Materials). But it will not work if you need to achieve this effect on objects where materials have not been applied.

In the real world, if objects are located close to each other, one of the objects should have self-shading. If it does not happen, the objects may look artificially in the Scene. The SSAO post process is just right for solving this problem. This effect occurs on the screen space. Like all post processes, it is applied to the final picture.

Let's look at the example below. Before applying SSAO there were objects that did not affect each other at all.&#x20;

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FVUXSlbtZU6CAYmCoJcMN%2Fimage.png?alt=media&#x26;token=131b3fdd-4031-4db6-aedc-27b4245635c8" alt=""><figcaption></figcaption></figure>

After turning on SSAO, the picture became more realistic. The intersections of the objects have become darker. This is how the SSAO post process works, it adds shadings between objects (in areas where their planes intersect).

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FF41CGQo2KRouunrfvLgH%2Fimage.png?alt=media&#x26;token=b1e2f4fa-a9d5-47dc-94a1-ecc7135f72de" alt=""><figcaption></figcaption></figure>

SSAO has 2 parameters: Radius and Intensity.

### Radius

Radius is measured in units and determines the occlusion radius. A large radius is useful for huge objects (for example, houses or skyscrapers).

For small objects, we set an acceptable radius. For example, 0.1.

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FDzR4aGnOPkBVNIPwFadv%2Fimage.png?alt=media&#x26;token=d3899f0f-bf87-4762-b14d-087e42893018" alt=""><figcaption></figcaption></figure>

### Intensity

Intensity affects the intensity of shading. The higher the value of this parameter, the darker the shading between objects.

When we turn on the SSAO post process, we see that a soft shadow appears in all areas where there are intersections of planes.

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FaImeYIR2SGQ8AGEyxdfX%2Fimage.png?alt=media&#x26;token=0fedb3b4-342d-4cc0-8781-408c06fe8cc3" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.manu.co/learn/manual/post-processing/screen-space-ambient-occlusion-ssao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
