Jump to content
  • Advertisement
Sign in to follow this  
Starfox

OpenGL GL_NV_explicit_multisample using Cg code sample

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

Custom AA resolves are possible on SM4 HW using GL_NV_explicit_multisample, but no method of reading from a multisampled renderbuffer in Cg is (publicly) documented. Since custom resolves are important if you want to do "proper" HDR MSAA with a non-linear tonemap operator, I wrote this little code sample to demonstrate reading from multisampled renderbuffers in Cg / OpenGL inspired by a discussion between me and lonesock, and I've decided to clean it up and release it. Enjoy responsibly ;) Source / Binary - Sherief [Edited by - Starfox on June 4, 2009 7:28:57 PM]

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!