RendertoTexture to image

Is there a way to render to a texture to a image so i can ether save the image to a file or use it to display in fenggui?

You might want to look at Texture.getImage().

that doesn't work, it just returns a null.



To clarify i'm using render to texture to create an texture of a scene and i want to then take that texture and save it as a file.

You can't retrieve the texture on the CPU with RTT. Search the forums, this question has been asked lots of times already…

Ok, I might be stupid but I can't find on this forum how to do this. Could you please explain it again.