>glReadPixels does not work with a multisample FBO (check glGetError >after your glReadPixels to see);
yes you are right, I get a GL_INVALID_OPERATION after the call of glReadPixels >you have to use glBlitFramebuffer to >copy the multisample FBO to a FBO without multisampling to resolve the >samples to a texture; this is what osgUtil::RenderStage does when you >attach an osg::Texture and set the samples to > 1. I'm not sure about the result of the glBlitFramebuffer operation...what is the result of this copy? Is it the original FBO without beeing multisampled? >If you just want to render to multisample buffers and never need to read >back from those buffers (such as in a shader), you can do it; otherwise, >I think you are out of luck. What do you mean by never need to read back from those buffers *such as in a shader*? In the release note of osg 2.6.1 it says: OpenGL Multi-sample FrameBufferObject support. In fact what does it means? I do not really undestand in what configuration the multisample FBO can be used. Thanks for your help Jonathan
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

