Hi, just a guess - try global ambient intensity. i'm using this code: Code: osg::LightModel *lightModel = collisionStateSet ? dynamic_cast<osg::LightModel*> (collisionStateSet->getAttribute(osg::StateAttribute::LIGHTMODEL)) : NULL; if (lightModel) { globalAmbientIntensity = lightModel->getAmbientIntensity(); }
Cheers, Andrey ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47058#47058 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org