Setting a texture as the framebuffer?
glBindTexture(GL_TEXTURE_2D, texture). if you select the texture with this then glCopyTexSubImage2D will copy the framebuffer to the texture.
goto www.opengl.org and see the faq Q/ how to draw a fullscreen quad or something
alternately u can get the textures data with glGetTexImage..(..) or someit
alternately u can get the textures data with glGetTexImage..(..) or someit
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement