• Advertisement
Sign in to follow this  

FBO

This topic is 3319 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello, I decided to use a frame buffer object to render my scene to, but not for a purpose of off-screen rendering but for an on-screen rendering. So my question is how do I put my frame buffer on the screen? Do I need to go around it by a screen aligned quad?

Share this post


Link to post
Share on other sites
Advertisement
Yes use a full screen quad. Just out of interest why are you rendering to an FBO then copying it to the screen? This doesn't make sense to me unless you are also applying post-effects, as FBO switching is one of the most costly state changes you can perform.

Share this post


Link to post
Share on other sites
Quote:
Original post by JohnnyCode
thanks man. Last thing, how do I set this opengl render size?


What are you using to create your opengl window/context?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement