kingc8
10-27-2010, 09:05 AM
Hello,
I have a question about the way the FBO clips the visible scene.
I'm using glOrtho for 2D and using render-to-texture with FBO. Since the FBO is upside-down and reversed, I draw all content that way so the generated texture isn't.
Therefore the "bottom right" of my FBO is 0,0.
I find that when any part of the scene passes the negative side of 0,0 that it appears clipped from the FBO generated texture.
Why does it do that? Is it because of the viewport setting?
Thanks,
Cameron
I have a question about the way the FBO clips the visible scene.
I'm using glOrtho for 2D and using render-to-texture with FBO. Since the FBO is upside-down and reversed, I draw all content that way so the generated texture isn't.
Therefore the "bottom right" of my FBO is 0,0.
I find that when any part of the scene passes the negative side of 0,0 that it appears clipped from the FBO generated texture.
Why does it do that? Is it because of the viewport setting?
Thanks,
Cameron