Print view · Clamp · 1 pageChoose "Save as PDF" as the destination in the print dialog.
Back to the docs

Mesh Morpher documentation

Clamp

1 page · exported 2026-09-11 · https://meshmorpher.com/docs/studio-and-graph/voxel/math/clamp

Studio and Graph › Voxel › Math

Clamp

Holds the value between Min and Max. Anything outside gets pulled back to the nearest end.

Clamp node

The Clamp node

When to use it

Holds a value inside a range.

Useful for keeping a computed parameter within what the thing downstream tolerates, and for flattening the extremes of a noise. Clamping the top of a height field is how you get mesas.

Clamping a distance field puts flat plateaus in the field itself, and the mesher reads those as abrupt surfaces in places you never put any. Clamp the amplitude before it becomes a field, not after.

Pins

Pin Type Description
Min Number The lowest the answer is allowed to be.
Max Number The highest the answer is allowed to be.
Input Number The number to work on.
Pin Type Description
Result Number The answer.