Ls_Dilate (Compatible with IFFS 2017.0.0 and up)

Download this shader

Dilate - shrink or expand pixels based on brightness, or on closeness to a particular colour

The strength input modulates the effet and can also use negative colours to reverse the dilation into erosion, and vice-versa

When using colour weighting, the third input can set the colour to use per-pixel - using a clean greenscreen can let you spread edge colours inwards or outwards without having to pull a key to use with PixelSpread

Make sure input is 16fp rather than 8-bit!

Quick demo:

lewis _at_

Version notes

Initial version from

Older versions that shader

23th of October 2022


Initial version from

comments powered by Disqus