Terrain node

hf_clip

Clamp a layer between min and max, optionally with a soft knee. Use to flatten sea/lake floors (clip_min at water level) or create plateaus/mesas (clip_max).

Inputs

Parameters 6

layerstring
Default height

Layer to clip.

clip_mintoggle
Default on

Clamp values below 'min'.

minfloat
Default 0

Lower limit (e.g. sea level / lake floor).

clip_maxtoggle
Default off

Clamp values above 'max'.

maxfloat
Default 200

Upper limit (e.g. plateau level).

softfloat
Default 0Range 0 to …

Soft knee width in world units: rounds the transition instead of a hard crease.

Use it

Add it from the node menu (right-click empty graph space or Tab, then type hf_clip), ask the AI for it by name, or add it with a graph op from the API or MCP:

{"op":"add","type":"hf_clip","name":"my_hf_clip","params":{},"inputs":["src"]}

Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.