/// <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)); }
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 in grayscale /// </summary> /// <returns>The blurred texture.</returns> /// <param name="image">Image.</param> /// <param name="deviation">Deviation.</param> public static Texture2D CreateBlurredGrayscaleTexture(Texture2D image, double deviation = 1) { return(GaussianBlur.CreateBlurredGrayscaleTexture(image, deviation)); }