Flood Fill
Utilities
Flood-fills connected regions with selectable 4-way or 8-way tile-aware connectivity. Packed RGBA32F output: R/G carry frac(bbox_min) and bbox_size (16 bits each per axis); B carries a quadtree-derived per-island hash; A reserved. Background = (0,0,0,0). Downstream flood-fill nodes decode these via asuint. See shader for details.
Inputs
input
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
thresholdThreshold | float | 0.5 | 0 to 1 | Input threshold for region detection. |
connectivityConnectivity | enum | four_way | Whether diagonal foreground pixels belong to the same region.
|
Outputs
output(default format:rgba32float)