Hmm,
I was able to fix it  by adding the following to my root object state...

state->setMode( GL_DEPTH_TEST, osg::StateAttribute::ON );

Not sure why this was needed in QT5/OSG as I thought it was the default...

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to