Hi, I created scene in 3D studio max and set up appropriate light. When I'm loading this 3DS in the OSG I don't have these lights enabled.
I tried to turn on the lights on these specific node however it did not solved the problem. I tried the following: cessnaNode = osgDB::readNodeFile("C:\\Lights.3DS"); osg::StateSet *state = cessnaNode->getOrCreateStateSet(); state->setMode( GL_LIGHTING, osg::StateAttribute::PROTECTED | osg::StateAttribute::ON ); How can I enable original lights from 3D studio Max? Thank you! Cheers, Danny ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21705#21705 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org