diff --git a/src/Demos/osgscribe/osgscribe.cpp b/src/Demos/osgscribe/osgscribe.cpp index 034444905..5631737d1 100644 --- a/src/Demos/osgscribe/osgscribe.cpp +++ b/src/Demos/osgscribe/osgscribe.cpp @@ -118,6 +118,7 @@ int main( int argc, char **argv ) stateset->setAttributeAndModes(polyoffset,osg::StateAttribute::OVERRIDE_ON); stateset->setAttributeAndModes(polymode,osg::StateAttribute::OVERRIDE_ON); stateset->setMode(GL_TEXTURE_2D,osg::StateAttribute::OVERRIDE_OFF); + stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE_ON); decorator->setStateSet(stateset);