Sign in to follow this  
Starfox

OpenGL GL_NV_explicit_multisample using Cg code sample

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this