Terrain node

hf_terrace

Quantise terrain height into terraces/steps (mesa, rice terraces, layered rock). Each band of step_height becomes a flat shelf with a steep riser; sharpness blends between the original and the stepped shape. Writes 'height'.

Inputs

Parameters 6

step_heightfloat
Default 20Range 0.01 to …

Height of each terrace step in world units.

sharpnessfloat
Default 0.7Range 0 to 1

0 = no effect, 1 = perfectly flat steps with vertical risers. 0.5-0.8 gives natural sedimentary ledges.

offsetfloat
Default 0

Shifts the step levels up/down.

noisefloat
Default 0Range 0 to …

Random variation of step levels in world units (breaks up the regularity).

maskstring
Default ""

Optional mask layer limiting the effect.

seedint
Default 0

Seed of the step noise.

Use it

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

{"op":"add","type":"hf_terrace","name":"my_hf_terrace","params":{},"inputs":["src"]}

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