Terrain node
hf_remap
Fit a layer from an input range to an output range through a ramp. Typical: normalise a noisy terrain to exactly 0..300 m, or reshape the height distribution (valley floors, plateaus), or remap a mask's contrast.
Inputs
- 0heightfield
Parameters 8
layerstringLayer to remap.
auto_rangetoggleUse the layer's current min..max as input range.
in_minfloatInput range minimum (when auto_range is off).
in_maxfloatInput range maximum (when auto_range is off).
out_minfloatOutput value for the input minimum.
out_maxfloatOutput value for the input maximum.
ramprampShaping curve applied to the normalised 0..1 value before mapping to out_min..out_max. E.g. [[0,0],[0.4,0.1],[1,1]] flattens lowlands; [[0,0],[0.5,0.8],[1,1]] makes plateaus.
clamptoggleClamp values outside the input range.
Use it
Add it from the node menu (right-click empty graph space or Tab, then type hf_remap), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"hf_remap","name":"my_hf_remap","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.