Jump to content
  • Advertisement
Sign in to follow this  
leo77

Multiple rendering passes on GPU

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

Hi... I'm building a program (on the GPU, pixel shader) that will need to have multiple rendering passes. How do I do that without downloading the result to the CPU? (someone told me to use PBuffers, how do I do that?) thanks

Share this post


Link to post
Share on other sites
Advertisement
It all depends on what you need. If you need render-to-texture functionality, then pbuffers, or the preferred new EXT_frame_buffer_object extension can perform this. If you don't need RTT capability, then just blend on the framebuffer using the standard GL blending functions.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!