Best/Most efficient way to Draw RTT to GUI.Image?

So lets say I wanna capture a active profile image of an actor in my scene, I know how to make a camera and get an rtt as a texture that I can ref. But just trying to think of whats the best way to draw it now to the GUI is what is making me take a second to think. I could modify the draw method but there might be a simpler way that Im not thinking of.

Since GUI uses the 2D context you’ll have to copy the image data from the RTT to there. @Deltakosh @sebavan I don’t think there’s an easy efficient way to do this, right :confused:

yup the only options would be to use readPixels from the RTT to create an image from it :frowning:

1 Like