Moved the default light to be from the sky.

This commit is contained in:
Robert Osfield 2004-01-07 20:58:07 +00:00
parent 1f7a32c052
commit dd40692eb6

View File

@ -134,7 +134,7 @@ int main( int argc, char **argv )
osg::ref_ptr<osgUtil::SceneView> sceneView = new osgUtil::SceneView;
sceneView->setDefaults();
sceneView->setSceneData(loadedModel.get());
sceneView->setLightingMode(osgUtil::SceneView::SKY_LIGHT);
// do the set up of the DatabasePager...
// create the database pager via the osgDB::Registry