Terrain node
hf_mask_noise
Write a 0..1 noise pattern into a mask layer (default 'mask'). Use it to break up other operations (feed its layer name to the 'mask' parameter of hf_noise, hf_blur, hf_erode, hf_scatter...) or to create forest/meadow patches. Result is clamped to 0..1.
Inputs
- 0heightfield
Parameters 10
layerstringMask layer to write (created if missing).
kindmenuNoise basis (see hf_noise).
element_sizefloatFeature size in world units.
octavesintFractal octaves.
thresholdfloatCentre of the 0..1 remap: higher = less coverage.
contrastfloatEdge sharpness: 1 = soft gradient, 10 = nearly binary patches.
warpfloatDomain warp in world units.
combinemenuHow to merge with the existing mask (set/add/multiply/max/min/subtract).
inverttoggleInvert the generated mask.
seedintRandom seed.
Use it
Add it from the node menu (right-click empty graph space or Tab, then type hf_mask_noise), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"hf_mask_noise","name":"my_hf_mask_noise","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.