Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 public static Color[] CreateBlurredTexture(Color[] srcData, int width, int height, double deviation = 1)
 {
     return(GaussianBlur.CreateBlurredTexture(srcData, width, height, deviation));
 }