Rendering to a texture.

Started by
2 comments, last by Azrael 22 years, 10 months ago
How can you render to a texture in opengl?
Advertisement
You can not render direct to a texture so the normal way is to render to the backbuffer and use glCopyTexImage2D.
Check out p_buffer extension on newer cards.
Right, I forgot that alternative.
I think that the pbuffer is more like an extension to the driver than the card. You have it also for TNT cards if you have recent drivers. I do not know if it is faster than the backbuffer approach but you are not limited to how the backbuffer is setup.

This topic is closed to new replies.

Advertisement