   GL_NV_explicit_multisample using Cg code sample
  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]