Esempio n. 1
0
        public static Texture BoxBlur(this Texture texture, int radius, int iterations = 1)
        {
            Texture2D texture2D = (Texture2D)TextureUtils.ConvertToReadableTexture(texture);

            texture2D.BoxBlur2D(radius, iterations);

            texture = texture2D;

            return(texture);
        }