Studio Yotsuba
Back to Node List

Region Fill

region_fill

Paints each region in its own color. Great for a quick visual check of a split, or as a mosaic / stained-glass material in itself

Reviewed
Guide available

Input Ports

NameTypeDescription
Regions
regions
RegionMap
Required
RegionMap to render
Palette
palette
Palette
Optional palette used by Palette mode

Output Ports

NameTypeDescription
Image
output
Image
Rendered region fill image

Parameters

NameTypeDefaultRangeDescription / Options
Mode
mode
Enum
RandomColor—

How each region is converted to color

  • RandomColorRandomColor
    Assign a stable random color to each region
  • RandomGrayRandomGray
    Assign a stable grayscale value to each region
  • PalettePalette
    Assign palette colors by region id
  • RegionIdRegionId
    Encode region id as grayscale
Seed
seed
Int
10–99999

Color randomization seed

Overview

The basic region-system renderer that turns a RegionMap into a visible image. It fills regions with random colors, palette colors, or a solid color. It accompanies region work from checking partitions to preparing flat terrain fills.

Usage tips

  • The go-to two-stage workflow is RandomColor while working to inspect boundaries, then Palette for production colors.

  • Palette mode maps region IDs to palette indices. When ID order matters, arrange it upstream, for example with id_order in image_to_regions.

  • The filled result is an ordinary image, so finish it with normal image nodes such as noise and lighting.

  • Category: Generate / Region / Render

  • Use: temporary per-region colors, terrain surface fills, and palette assignment checks

Modes

Value Description
RandomColor Assign a deterministic random color to every region ID
RandomGray Assign a grayscale value to every region ID
Palette Cycle through the connected Palette in region-ID order
RegionId Visualize region ID as luminance

Region Fill converts a RegionMap for downstream ordinary image processing. Use it with Region Border when only boundaries are needed.

This node is the shortest route to checking colors by region. Use Region Pattern Assign to vary palette assignment per region or apply pattern images. For checking IDs, Region Debug Preview is a better fit.

Related nodes

  • region_pattern_assign — apply patterns or images instead of only colors
  • region_border — extract only region boundary lines
  • region_debug_preview — inspect IDs
  • image_to_regions / region_voronoi — create regions to fill upstream
Back to Node List