# PARALLAX_OCCLUSION

Variable · category: Graphics

Source: https://github.com/playcanvas/engine/blob/f059dc005842f76e052cdf44d8370c8c7ec475ac/src/scene/constants.js#L1157

Parallax occlusion mapping marches the view ray through the height field to find where it meets
the displaced surface. This costs more than [PARALLAX_OFFSET](https://api.playcanvas.com/engine/variables/PARALLAX_OFFSET.md), but represents deeper
displacement without smearing the texture.

```ts
const PARALLAX_OCCLUSION: "occlusion" = 'occlusion'
```
