public static Color[] CreateBlurredGrayscaleTexture(Color[] srcData, int width, int height, double deviation = 1) { return(GaussianBlur.CreateBlurredGrayscaleTexture(srcData, width, height, deviation)); }
/// <summary> /// creates a new texture that is a gaussian blurred version of the original /// </summary> /// <returns>The blurred texture.</returns> /// <param name="image">Image.</param> /// <param name="deviation">Deviation.</param> public static Texture2D CreateBlurredTexture(Texture2D image, double deviation = 1) { return(GaussianBlur.CreateBlurredTexture(image, deviation)); }