Request example for rendering to a Texture OpenGL ES

Hello every body,


As the title mentioned, could anyone give me a simple example of rendering to a texture in OpenGL ES? I have tried to do it for several days, but things haven't worked out yet although drawing to screen gave me a nice result. I followed the two links in bellow in my program and utilized OpenGL ES 3.0 and Xcode 8.3.3.

https://developer.apple.com/library/content/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.html

http://www.songho.ca/opengl/gl_fbo.html


Thank in advance.

In case you haven't figured it out yet... here, have a look at RosyWriter: https://developer.apple.com/library/content/samplecode/RosyWriter/Introduction/Intro.html

Request example for rendering to a Texture OpenGL ES
 
 
Q