Hi,

for the errors above,
I add the below commond:
this->setImplicitBufferAttachmentRenderMask(osg::Camera::IMPLICIT_COLOR_BUFFER_ATTACHMENT);
     
 and changed the LinearDepthSampler`s internal format from GL_FLOAT_RG16F_NV to 
GL_LUMINANCE_ALPHA16F_ARB

then no openGL errors appeared, but the program was running very slow(about 
2~3fps) and depth test seemed not correct (may be affected by alpha channel)

what I thought is: GL_TEXTURE_2D_MULTISAMPLE is a new token introduced by 
OpenGL3.2, and osg may not implement GL3 externsions.
I see a GL3 check item in CMake which is false in default, Is it nessary to 
active it and recomplie osg lib to use GL3 externsions in osg?


Thank you!

Cheers,
Kai

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27510#27510





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to