From Gideon, update to the PolygonOffset for the background quad.

This commit is contained in:
Robert Osfield
2003-07-23 21:03:35 +00:00
parent bf5add799d
commit c55d8c7a5a

View File

@@ -106,7 +106,7 @@ void SlideShowConstructor::addLayer()
osg::StateSet* backgroundStateSet = background->getOrCreateStateSet();
backgroundStateSet->setAttributeAndModes(
new osg::PolygonOffset(1.0f,1.0f),
new osg::PolygonOffset(1.0f,2.0f),
osg::StateAttribute::ON);
backgroundStateSet->setTextureAttributeAndModes(0,