Salut Jean-Sébastien, thank you for your advice. I already had the line
Code: osg::DisplaySettings::instance()->setMinimumNumStencilBits(1); set as in osgoutline. Just to make sure, I disabled it to see that the line does not make any difference... Then I noticed how osgViewer::View feeds the osg::GraphicsContext::Traits from various fields of osg::DisplaySettings, as for example in View::setUpViewOnSingleScreen(). Since I am using my own call to osg::GraphicsContext::createGraphicsContext() I was missing a line such as: Code: traits->stencil = ds->getMinimumNumStencilBits(); Problem solved! Thank you! Cheers, Florian ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31401#31401 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org