Skip to main content
Inspiring
April 28, 2022
Open for Voting

Feature request: A Flood Fill node that doesn't require Edge Detect

  • April 28, 2022
  • 2 replies
  • 1623 views

Flood Fill is an amazing feature, but one thing that's a bit of a headache is that it requires black pixel boundaries to work, and the edge detect by design has to be at least 2 pixels thick. This creates some undesirable results unless you're working at resolutions high enough that the black lines will dissapear when you resize. 

In this specific case, each cell from the Cell noise node already contains a boundary. If Flood Fill could be calculated without the edge detect, it would be possible to eliminate the black lines, correct?

Seems like something like this would give really nice results at lower resolutions:

 

2 replies

Inspiring
April 29, 2022

Great suggestion. The only problem with that approach is that it doesn't work very well with the Flood Fill Mapper or when one of your sections is intentionally black.

Inspiring
April 29, 2022

as a workaround after you have done whatever with flood fill and depends on what you are after and colors etc but you could always use a distance node with the original mask to close the gaps, this is at 512px it's a  good trick for filling gaps etc I use it more and more.