PDA

View Full Version : render to renderbuffer image



xjtuwyf
03-30-2013, 03:46 AM
I am a beginner for OpeGL ES.when I read the OpenGL ES 2.0 programming guide, it says in chapter 12,"Framebuffer Object",that if the image will not be used as a texture,using a renderbuffer may have a performance advantage.Then I try to render to image, but after
a few failures, I still do not konw how to implemente it. Is anybody here can help me here?
many thanks!!

ClayMontgomery
04-01-2013, 02:09 PM
Rendering to a RenderBuffer does not work on platforms that I have tried (OMAP). It's a feature that nobody seems to use because the only thing you can do with the RenderBuffer would be to read it with glReadPixels(). You should attach a texture to your FBO, instead. This article with help:

http://processors.wiki.ti.com/index.php ... _OpenGL_ES (http://processors.wiki.ti.com/index.php/Render_to_Texture_with_OpenGL_ES)

Regards, Clay