Hi,
I recently got some trouble when I tried to use MultiSample in FBO, I render
the scene in main camera and render to a FBO with a GL_RGB16F_ARB
textureRectangle attached, I set the camera like below:
m_OutputColor->setInternalFormat(GL_RGB16F_ARB);
m_MainCamera->setImplicitBufferAttachmentMask(osg::DisplaySettings::IMPLICIT_COLOR_BUFFER_ATTACHMENT,
osg::DisplaySettings::IMPLICIT_COLOR_BUFFER_ATTACHMENT);
m_MainCamera->attach(osg::Camera::COLOR_BUFFER, m_OutputColor.get(),0,
0, 0, 8, 8);
but the texture output seem not more smooth than before, and which is worse is
that there is some obvise black segment on the edge of the objects in 3d scene,
I dont know what is wrong about this? even I change the texture format to
GL_RGB / GL_RGBA, the problems remained, could any one tell me how to implement
MultiSample in FBO, thanks very much!
BTW: I use the latest osg 2.9.7 version to test.
Thank you!
Cheers,
Kai
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25995#25995
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org