Hey @patriciogonzalezvivo :)
Questions about the implementation of Dilate and Erode, im curious:
#define DILATION_SAMPLE_FNC(TEX, UV) SAMPLER_FNC(TEX, UV).r
 
Why is DILATION_SAMPLE_FNC returning a single channel?
How should we use this for RGB(a) images, or is the intention only for single channel mask like images?