Show
Ignore:
Timestamp:
09/01/03 21:43:58 (11 years ago)
Author:
robert
Message:

Updates from Marco:sgfxbrowser.cpp (added specular
component to scene light) and AnisotropicLighting?.cpp (workaround for a
multiple-context issue).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgfxbrowser/osgfxbrowser.cpp

    r2184 r2217  
    342342        light->setLightNum(0); 
    343343        light->setDiffuse(osg::Vec4(1, 1, 1, 1)); 
     344        light->setSpecular(osg::Vec4(1, 1, 0.8f, 1)); 
     345        light->setAmbient(osg::Vec4(0.2f, 0.2f, 0.2f, 0.2f)); 
    344346        light->setPosition(osg::Vec4(1, -1, 1, 0)); 
    345347