Sign in to follow this  
Solance

Setting a texture as the framebuffer?

Recommended Posts

anist    100
glBindTexture(GL_TEXTURE_2D, texture). if you select the texture with this then glCopyTexSubImage2D will copy the framebuffer to the texture.

Share this post


Link to post
Share on other sites
zedzeek    528
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this