
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. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.