Jump to content
  • Advertisement
Sign in to follow this  
JohnnyCode

FBO

This topic is 3586 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!