OpenGL ES Render to Texture
This is how I’m doing it. I define a texture variable (I use Apple’s Texture2D class, but you can use an OpenGL texture id if you want), and a frame buffer: Texture2d * texture; GLuint textureFrameBuffer; Then at some point, I create the texture, frame buffer and attach the renderbuffer. This you only need to … Read more