float radius = 0.0; // The bigger the number, the lesser the radius. Negative values are also accepted.
float smoothness = 256.0; // The bigger the number, the smoother the transition. Zero will completely disable the effect.
grayscaleFactor = getFactor(UV2, radius, smoothness);