• Advertisement
Sign in to follow this  

render to multiple targets using fbos and shaders

This topic is 3913 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

How do I set up so that I can render to multiple targets using fbos ? eg to render to just one target I'd use:
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, 
                          attachmentpoints[writeTex], 
                          texture_Target, yTexID[writeTex], 0);
glDrawBuffer (attachmentpoints[writeTex]);
How do I set up so that I render to many ? cheers

Share this post


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

  • Advertisement