Add a diffusion effect, and hook it up in the GUI.
[movit] / overlay_matte_effect.frag
1 vec4 FUNCNAME(vec2 tc) {
2         vec4 orig = INPUT1(tc);
3         vec4 blurred = INPUT2(tc);
4         return mix(orig, blurred, orig * vec4(PREFIX(blurred_mix_amount)));
5 }