Studio Yotsuba
Back to Node List

Region Noise

region_noise

Builds regions from banded noise - cloudy, natural patches suited to terrain biomes, rust and grime areas

Reviewed
Guide available

Input Ports

NameTypeDescription
Mask
mask
Image
Optional image mask that limits where regions are generated. Pixels with luminance * alpha >= 0.5 are treated as the active area; pixels outside the mask become OUTSIDE_ID.

Output Ports

NameTypeDescription
Regions
regions
RegionMap
Generated RegionMap data
Preview
preview
Image
Color preview of the generated regions
Labels
labels
Map
UI overlay label positions for the inspector

Parameters

NameTypeDefaultRangeDescription / Options
Width
width
Int
641–2048

Region map width in pixels

Height
height
Int
641–2048

Region map height in pixels

Mode
mode
Enum
Smooth—

Noise algorithm used to generate region values

  • SmoothSmooth
    Interpolated value noise for cloudy natural areas
  • WhiteWhite
    Blocky random noise without interpolation
  • RidgedRidged
    Folded smooth noise that creates ridge-like bands
Levels
levels
Int
52–64

Number of value bands converted into region ids

Seed
seed
Int
10–99999

Random seed for repeatable noise

Scale
scale
Float
161–512 / step 1

Feature size where larger values create larger regions

Octaves
octaves
Int
31–8

Number of layered detail levels

Persistence
persistence
Float
0.50.1–0.95 / step 0.01

Strength falloff between octaves

Contrast
contrast
Float
10.25–4 / step 0.05

Value contrast before quantization

Wrap X
wrap_x
Bool
false—

Generate noise as a horizontally tileable pattern

Wrap Y
wrap_y
Bool
false—

Generate noise as a vertically tileable pattern

ID Order
id_order
Enum
SeedOrder—

How generated ids are renumbered

  • SeedOrderSeedOrder
    Keep ids in low-to-high noise value order
  • AreaAscAreaAsc
    Assign smaller ids to smaller regions
  • AreaDescAreaDesc
    Assign smaller ids to larger regions
Show IDs
show_ids
Bool
false—

Show region id labels on the inspector preview

Overview

Divides noise values into discrete levels and turns them into regions. It produces natural variation like a height map separated by contour levels, making a good base for organic surfaces such as terrain, water, rock, and grime.

  • Category: Generate / Region / Create
  • Use cases: create natural surface variation for rock, terrain, water, grime, grass, and abstract backgrounds

Usage tips

  • The go-to terrain recipe is region_noise(levels=4–6) → region_fill, which can color height-based levels such as deep water, shallow water, beach, and grassland in one pass.
  • scale determines the coarseness of the shapes: large values are continental, while small values produce fine mottling. Choose the scale first, then adjust levels to reduce guesswork.
  • Ridged creates streaked or ridge-shaped levels suited to rock walls and wood-like surfaces.
  • The same level ID may appear as several separate islands by design. Add region_split_islands downstream when each island needs its own ID.

Related nodes

  • region_fill — assign colors to levels
  • region_split_islands — separate IDs by island
  • region_merge_small — clean up small noise islands
  • region_cells / region_voronoi / region_strata — alternative generators
  • noise_generate — generate noise as an image

Modes

Value Description
Smooth Interpolated value noise, suited to smooth variation such as clouds and terrain.
White Uninterpolated block noise, suited to coarse random patches.
Ridged Folds smooth noise to create streaked or ridge-like levels.

ID ordering

Value Description
SeedOrder Assigns IDs in order from lower noise-value levels.
AreaAsc Assigns lower IDs starting with smaller regions.
AreaDesc Assigns lower IDs starting with larger regions.

How to use

Create natural level regions with Region Noise, then assign colors with Region Fill. Add Region Split Islands downstream to handle small islands separately, or Region Merge Small to blend small patches into their surroundings.

Because levels is the number of value levels, the same ID may occur in several distant places. To give every visible island a separate ID, add Region Split Islands downstream.

Enabling wrap_x / wrap_y generates noise designed to loop and preserves the loop information in the output RegionMap.

When mask is connected, noise regions are generated only inside the active mask area and the outside is treated as OUTSIDE. Pixels where lightness * alpha >= 0.5 are active. An arbitrary mask shape takes priority, so wrap_x / wrap_y are disabled in the output while a mask is connected.

Region Noise is a generator for converting natural tonal variation into region IDs, not for specifying shapes in detail. Use Region Cells for ready-to-edit surfaces, Region Voronoi for point-like distributions, or Region Bands / Region Strata for directional surfaces.

Back to Node List