Flood Fill

Flood Fill

In: Filters/Effects



Flood Fill is part of an advanced set of effects that allow you to add much more variation to a basic, binary tiles texture. It is not meant to be used by itself: instead, it is more of a starting point for Other Flood Fill effects. This split, separate data allows for a more dynamic, more optimized and less destructive workflow.

The other Flood Fill effects are Flood Fill to Gradient, Flood Fill to Color/Grayscale, Flood Fill to Random Grayscale, Flood Fill to Random Color, Flood Fill to BBox Size, Flood Fill to Position, Flood Fill Mapper and Flood Fill to Index

The input map needs to be suited to Flood Fill to work. Ideally it is a binary map (black/white only, no grayscale) where every tile is separated from the other lines by a border that is full black (0,0,0) for every pixel. An example of a perfect candidate for this is the Tile Generator.

Problems arise if tiles are not separated by full black pixels, usually when grayscale, sloping values are used. You can identify this by an overall lack of red values in the result, and possibly strange artifacting lines. In such cases, adjust the contrast on the input map or switch the input map out. Make sure to change the Safety/Speed trade-off setting to see if anything improves.


  • Safety/Speed trade-off: Simple or small shapes, Complex or big shapes, No failure mode.
    Set the calculation mode to best suit input shapes. Allows for much more accurate results if the correct mode is chosen.
  • Avanced options: Display advanced Parameters and Output/Hide advanced Parameters and Output
  • Override Safety/Speed trade-off: -1 - 100
    Only visible with Advanced Options on. Allows for overriding internal features. Very advanced, serves for creating own effects or debugging.

Example Images

Good and bad examples of results from Flood Fill.