How can I downsample a texture using FBOs?

Posted by snape on Game Development See other posts from Game Development or by snape
Published on 2011-11-15T22:39:52Z Indexed on 2011/11/16 10:25 UTC
Read the original article Hit count: 299

Filed under:
|

I am rendering a scene to FBO as my render target whose size is 8 times the size of the orignal screen in OpenGL. Now i wan to downsample the texture generated by FBO to the size of the screen so as to achieve spatial anti aliasing. How do i achieve the down sampling ? Please provide implementation details.
Note : If there is a better way of doing anti aliasing in FBOs please mention that too. I am trying to remove the aliasing in the image attached below.

enter image description here

© Game Development or respective owner

Related posts about opengl

Related posts about textures