# Ssao

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/extras/render-passes/camera-frame.js#L58

Properties related to the Screen Space Ambient Occlusion (SSAO) effect, a postprocessing technique
that approximates ambient occlusion by calculating how exposed each point in the screen space is
to ambient light, enhancing depth perception and adding subtle shadowing in crevices and between
objects.

## Properties

### blurEnabled

```ts
blurEnabled: boolean
```

Whether the SSAO effect is blurred. Defaults to true.

### intensity

```ts
intensity: number
```

The intensity of the SSAO effect, 0-1 range. Defaults to 0.5.

### minAngle

```ts
minAngle: number
```

The minimum angle of the SSAO effect, 1-90 range. Defaults to 10.

### power

```ts
power: number
```

The power of the SSAO effect, 0.1-10 range. Defaults to 6.

### radius

```ts
radius: number
```

The radius of the SSAO effect, 0-100 range. Defaults to 30.

### randomize

```ts
randomize: boolean
```

Whether the SSAO sampling is randomized. Useful when used instead
of blur effect together with TAA. Defaults to false.

### samples

```ts
samples: number
```

The number of samples of the SSAO effect, 1-64 range. Defaults to 12.

### scale

```ts
scale: number
```

The scale of the SSAO effect, 0.5-1 range. Defaults to 1.

### type

```ts
type: string
```

The type of the SSAO determines how it is applied in the rendering
process. Defaults to [SSAOTYPE_NONE](https://api.playcanvas.com/engine/variables/SSAOTYPE_NONE.md). Can be:

- [SSAOTYPE_NONE](https://api.playcanvas.com/engine/variables/SSAOTYPE_NONE.md)
- [SSAOTYPE_LIGHTING](https://api.playcanvas.com/engine/variables/SSAOTYPE_LIGHTING.md)
- [SSAOTYPE_COMBINE](https://api.playcanvas.com/engine/variables/SSAOTYPE_COMBINE.md)
