# ParallaxMode

Type alias · category: Types

Source: https://github.com/playcanvas/web-components/blob/b95efbfac5c64c11284a27e8e18224700d05fc77/src/material.ts#L121

How a material's height map offsets the UVs of its other maps: `offset` takes a single tap of
the height map, and `occlusion` marches the view ray through the height field for deeper relief
at the cost of several taps per pixel.

```ts
type ParallaxMode = "offset" | "occlusion"
```
