Skip to content

Clamp

modifier.clamp · Adjust · Mask-aware

Hard-clamps the height layer into [min, max]: caps overshoots, floors basins, or bounds a value.

Purpose

Caps the height to a range, flattening anything above or below it. Reach for it to floor a basin, cap an overshoot, or bound a value before a node that is sensitive to its range.

Inputs

  • in

Outputs

  • out

Parameters

Parameter Type Range Default Unit Description Field-driven
Min (min) float [-100000, 100000] 0 m no
Max (max) float [-100000, 100000] 256 m no

Layer contract

Honours a mask on its input, applying everywhere the mask is absent.