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
- 0heightfield
Parameters 14
kindmenuNoise 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.
amplitudefloatPeak height deviation in world units (noise is roughly -1..1 times this). 50 = hills, 150-400 = mountains on a 1 km tile.
element_sizefloatSize of the largest features in world units (1/frequency). About 1/3..1/2 of the terrain size gives a few big mountains.
octavesintNumber of fractal layers; more = finer detail (8 is plenty at 512 cells).
lacunarityfloatFrequency multiplier per octave (2 standard).
gainfloatAmplitude multiplier per octave (roughness). 0.4 smooth, 0.5 natural, 0.6 rough/rocky.
offsetvector 3X,Z: shift of the noise pattern in world units (pick a different landscape). Y: constant added to the noise result.
warpfloatDomain 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).
positivetoggleRemap 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).
powerfloatExponent applied to the 0..1-remapped noise; >1 flattens valleys and sharpens peaks (1.5-2.5 = alpine), <1 makes plateaus.
combinemenuHow the noise is applied to the layer: add (default), set (replace), subtract, multiply (layer *= noise; use with positive), max, min.
layerstringLayer to write. 'height' for terrain shape; any mask name (e.g. 'mask') to generate a mask (use hf_mask_noise for 0..1 masks).
maskstringOptional mask layer limiting where the noise applies (0..1). Empty = everywhere.
seedintRandom 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.