FBO

Started by
4 comments, last by HuntsMan 15 years, 2 months ago
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?
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.
I do it because I want to be able to set a different resolution then the resolution of the window is.
No man, don't do that. Rendering in a different resolution is simple its just a matter of making your window fullscreen, and changing the opengl render size.

No FBO is needed.

thanks man. Last thing, how do I set this opengl render size?
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?

This topic is closed to new replies.

Advertisement