Пример #1
0
        public static Texture BlendScreen(this Texture texture, Texture blendTexture, float blendValue)
        {
            Texture2D texture2D      = (Texture2D)TextureUtils.ConvertToReadableTexture(texture);
            Texture2D blendTexture2D = (Texture2D)TextureUtils.ConvertToReadableTexture(blendTexture);

            texture2D.BlendMultiply(blendTexture2D, blendValue);

            texture = texture2D;

            return(texture);
        }