Clamp
ModifyPalette node
ClampHolds values inside a range, optionally rescaling what survives back out to [0, 1].
Inputs
1In
inHeightfieldRequired
Outputs
1Out
outHeightfield
Parameters
3| Parameter | Type | Default | Range or choices |
|---|---|---|---|
Minmin | Number | 0 | -2 – 2 |
Maxmax | Number | 1 | -2 – 2 |
Rescalerescale | Toggle | Off | — |
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.