From Atr Tevs, 
From Atr Tevs, 

first email:
"in the current implementation of osgUtil::RenderStage::drawInner() method, there is some wrong assumptions made. The problem is, that whenever one does use multisampling functionality, the Blit operation (which suppose to copy the content of multisampled FBO into the usual one) doesn't perform well in some cases.

I've attached a corrected version of the RenderStage. It do just add one line, which enables the multisampled FBO as a readable just before the usual FBO is set as writable. With these corrections the Blit operation performs now correct and allows using of multisampled rendering results further."

second email:
"There was a problem when blitting the multisampled FBO with internal formats. The default internal format of color buffered multisample FBO was GL_RGBA. This has converted the color values whenever the FBO content was copied. I've added couple of lines, which do just enable the multisampled FBO internal format in respect to the attached color texture's internal format. This makes it possible to blit even float valued texture, so make HDR with multisampling possible ;)"





jtorresfabra/osg,scrawl/osg,tomasthoresen/osg,jtorresfabra/osg,jtorresfabra/osg,openscenegraph/osg,openscenegraph/osg,scrawl/osg,marchelbling/osg,artoolkit/osg,openscenegraph/osg,openscenegraph/osg,tomasthoresen/osg,scrawl/osg,tomasthoresen/osg,marchelbling/osg,marchelbling/osg,jtorresfabra/osg,marchelbling/osg,scrawl/osg,artoolkit/osg,artoolkit/osg,artoolkit/osg,tomasthoresen/osg