Skip to main content

Clamp

ModifyPalette nodeClamp

Holds values inside a range, optionally rescaling what survives back out to [0, 1].

Inputs

1
Inin
HeightfieldRequired

Outputs

1
Outout
Heightfield

Parameters

3
ParameterTypeDefaultRange or choices
MinminNumber0-2 – 2
MaxmaxNumber1-2 – 2
RescalerescaleToggleOff—

When to use​

Place it after any compatible heightfield. Chain modifiers from broad value shaping to fine cleanup.

Example connection:

Compatible source → Clamp → Autolevel/Blend → Build Map

Notes​

Heightfield outputs are sampled at the active preview resolution and at terrain-voxel density during a build.