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: https://www.youtube.com/watch?v=t2jISkR7fGc

lewis _at_ lewissaunders.com


Version notes

Initial version from https://github.com/lcrs/matchboxes/commit/57dbdc3e3c71033a336d3a8e11e417925043aa78


Older versions that shader

23th of October 2022

Download

Initial version from https://github.com/lcrs/matchboxes/commit/57dbdc3e3c71033a336d3a8e11e417925043aa78


comments powered by Disqus