Hi
I would like to get the pixel info for a render texture with RenderTextureFormat.RGFloat. I used the following method:
myTexture = new Texture2D(renderTexture.width,renderTexture.height, TextureFormat.RGB24, false);
RenderTexture.active = renderTexture;
myTexture.ReadPixels(myRect, 0, 0);
myTexture.Apply();
but myTexture came out empty. What shall I do? Thanks for the help!
hch