Is it possible to convert a Texture2D to a RenderTexture? What i want to do is take a rendertexture from a camera, convert it to a texture2d to do some colorshifting, and then convert again to a rendertexture to pass to the camera.
// texRef is your Texture2D
// You can also reduice your texture 2D that way
RenderTexture rt = new RenderTexture(texRef.width / 2, texRef.height / 2, 0);
RenderTexture.active = rt;
// Copy your texture ref to the render texture
Graphics.Blit(texRef, rt);
// Now you can read it back to a Texture2D if you care
if (tex2D == null)
tex2D = new Texture2D(rt.width, rt.height, TextureFormat.RGBA32, true);
tex2D.ReadPixels(new Rect(0, 0, rt.width, rt.height), 0, 0, false);
And more informations over my blog : Unity Texture, Texture2D, RenderTexture – Farges Maelyss