PXC Documentation

PXC Home

Flood Fill

1.18.0

Filled connected pixel given position and color.

Node Data

Display name

Flood Fill

Internal name

Node_Flood_Fill

Inheritances

Node_Processor
Node_Flood_Fill

Inputs

toggle

Channel

Surfaces

surface

Surface In

surface

Mask

slider

Mix

Fill

enum

Fill Mode

vec2

Position

path

Path

int

Resolution

surface

Fill Mask

color

Ref. Color

slider

Threshold

Algorithm

enum

Algorithm

bool

Diagonal

int

Iteration

Rendering

color

Color

enum

Blend Mode

bool

Invert

Background

bool

Fill Background

color

Background Color

Gradient

bool

Fill Gradient

gradient

Gradient

Outputs

surface

Surface Out

surface

Fill Mask

Attributes

Color Depth

Flood fill node fill a region with the same color with a new color. That region is based on a single points. If you want to map all regions with new colors, you can use Region Fill node.



Properties


Position


Position of a pixel in the region to fill.


Threshold


Threshold of the color difference to ber consider the same region.


Colors


Color to fill to.


Diagonal


Whether to fill diagonal pixel.


Blend


Blending mode between the original and the filled color.



Commit History


1.13.3
  • Introduced
1.21.6.010
  • Add Fill Mask output.
  • Add Fill Background properties.
  • Add Channel control property.
  • Add path and mask fill mode.
  • Add invert option.

Related Links