Commit 7511826b authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CHANGE] added setting of lighting model

HEADLIGHT is default anyways, but this change makes this explicit.
parent 5ec4ad0a
......@@ -63,6 +63,8 @@ WGEViewer::WGEViewer( osg::ref_ptr<WindowData> wdata, int x, int y, int width, i
// camera manipulator
m_View->setCameraManipulator( new osgGA::TrackballManipulator() );
m_View->setLightingMode( osg::View::SKY_LIGHT );
// finally add view
// there is the possibility to use ONE single composite viewer instance for every view, but
// currently this possibility is not used.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment