---
title: "erosionRidges"
description: "Terrain eroded by water: sharp branching ridges with gullies running off them."
group: "light"
groupTitle: "Noise, light & materials"
categoryId: "noise"
categorySlug: "noise"
categoryTitle: "Noise"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/noise.ts#L588"
---

# erosionRidges

Terrain eroded by water: sharp branching ridges with gullies running off them.

```ts
erosionRidges(): Field
```

Import `noise` from `shaders/std` and use `noise.erosionRidges`.

Still (no animation). Signed, centred on 0: wrap it in `unitized` before a tone word. Takes a 2D position, so frame it with `seededPlane`.

## Example

```ts
paint: rampOver(noiseTone(seededPlane(unitized(erosionRidges()), {scale: p('scale'), seed: p('seed')}), {contrast: p('contrast'), balance: p('balance')}), stops(p('colorSpace')))
```

## See also

- [`unitized`](/docs/primitives/noise/unitized) — Turns a signed field (−1 to 1) into a unit field (0 to 1).
- [`seededPlane`](/docs/primitives/noise/seededplane) — Frames a field on a zoomable plane: how big the pattern is and where it starts.

## Used by

[ErosionNoise](/docs/components/erosionnoise)