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

Parameters 10

layerstring
Default mask

Mask layer to write (created if missing).

kindmenu
Default fbmOptions fbm perlin ridged billow worley hybrid

Noise basis (see hf_noise).

element_sizefloat
Default 150Range 0.01 to …

Feature size in world units.

octavesint
Default 4Range 1 to 12

Fractal octaves.

thresholdfloat
Default 0.5Range 0 to 1

Centre of the 0..1 remap: higher = less coverage.

contrastfloat
Default 4Range 0.1 to …

Edge sharpness: 1 = soft gradient, 10 = nearly binary patches.

warpfloat
Default 0Range 0 to …

Domain warp in world units.

combinemenu
Default setOptions add set multiply max min subtract

How to merge with the existing mask (set/add/multiply/max/min/subtract).

inverttoggle
Default off

Invert the generated mask.

seedint
Default 0

Random 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.