---
title: "unitized"
description: "Turns a signed field (−1 to 1) into a unit field (0 to 1)."
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#L647"
---

# unitized

Turns a signed field (−1 to 1) into a unit field (0 to 1).

```ts
unitized(field: Field): Field
```

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

Put it directly around a signed basis (`gaborGrains`, `waveletBands`, `erosionRidges`, `noiseField('mx3signed')`) so `noiseTone` and the palette see 0 to 1. Or skip it and use `signedTone`, which takes the signed value itself.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `field` | `Field` |  |

## Example

```ts
seededPlane(unitized(gaborGrains({frequency: p('frequency')})), {scale: p('scale'), seed: p('seed')})
```

## See also

- [`signedTone`](/docs/primitives/noise/signedtone) — Contrast and balance for a signed field (−1 to 1), applied before it is squashed to 0–1.
- [`noiseTone`](/docs/primitives/noise/noisetone) — The standard contrast and balance controls of a noise texture, turning a 0–1 field into the ramp position.

## Used by

[ErosionNoise](/docs/components/erosionnoise), [GaborNoise](/docs/components/gabornoise), [WaveletNoise](/docs/components/waveletnoise)