Terrain node

hf_noise

Add fractal noise to a heightfield layer (normally 'height'). The main terrain-shaping tool: one hf_noise with kind=hybrid, amplitude 150-300, element_size ~0.4 x terrain size makes convincing mountains; stack a second small-amplitude fbm for detail. Supports domain warp, power shaping (alpine peaks / flat valleys), several combine modes and an optional mask layer. Writes only the chosen layer.

Inputs

Parameters 14

kindmenu
Default hybridOptions fbm perlin ridged billow worley hybrid

Noise basis. fbm/perlin: rolling hills. ridged: sharp mountain ridges (ridged multifractal). billow: puffy rounded hills/dunes. worley: cellular domes/craters. hybrid: ridged large forms with fbm detail - best all-round mountains.

amplitudefloat
Default 160

Peak height deviation in world units (noise is roughly -1..1 times this). 50 = hills, 150-400 = mountains on a 1 km tile.

element_sizefloat
Default 600Range 0.01 to …

Size of the largest features in world units (1/frequency). About 1/3..1/2 of the terrain size gives a few big mountains.

octavesint
Default 8Range 1 to 16

Number of fractal layers; more = finer detail (8 is plenty at 512 cells).

lacunarityfloat
Default 2Range 1.1 to …

Frequency multiplier per octave (2 standard).

gainfloat
Default 0.5Range 0 to 1

Amplitude multiplier per octave (roughness). 0.4 smooth, 0.5 natural, 0.6 rough/rocky.

offsetvector 3
Default [0, 0, 0]

X,Z: shift of the noise pattern in world units (pick a different landscape). Y: constant added to the noise result.

warpfloat
Default 80Range 0 to …

Domain warp amount in world units (values <= 2 are read as a fraction of element_size, so 0.4 = 0.4 x element_size): bends features into natural swirls (0 = off, 0.1-0.4 x element_size is natural).

positivetoggle
Default off

Remap noise from -1..1 to 0..1 so heights only go up (useful with combine 'max' or on a flat base you want above 0).

powerfloat
Default 1.6Range 0.05 to …

Exponent applied to the 0..1-remapped noise; >1 flattens valleys and sharpens peaks (1.5-2.5 = alpine), <1 makes plateaus.

combinemenu
Default addOptions add set multiply max min subtract

How the noise is applied to the layer: add (default), set (replace), subtract, multiply (layer *= noise; use with positive), max, min.

layerstring
Default height

Layer to write. 'height' for terrain shape; any mask name (e.g. 'mask') to generate a mask (use hf_mask_noise for 0..1 masks).

maskstring
Default ""

Optional mask layer limiting where the noise applies (0..1). Empty = everywhere.

seedint
Default 0

Random seed: changes the pattern.

Use it

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

{"op":"add","type":"hf_noise","name":"my_hf_noise","params":{},"inputs":["src"]}

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