Ejemplo n.º 1
0
        public static void Blit(RenderTexture renderTexture, Texture texture, Color tint)
        {
            var material = Instance.SetMaterial(texture, tint);

            Instance.Apply(material);

            P3dHelper.Blit(renderTexture, material, Instance.Pass);
        }
Ejemplo n.º 2
0
        public static void Blit(RenderTexture renderTexture, Texture texture, Color tint, Vector4 channels)
        {
            Instance.SetMaterial(texture, tint, channels);

            Instance.Apply();

            P3dHelper.Blit(renderTexture, Instance.Material);
        }