From c55d8c7a5a2d86daaabca84224347096b2328eff Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 23 Jul 2003 21:03:35 +0000 Subject: [PATCH] From Gideon, update to the PolygonOffset for the background quad. --- examples/slideshow3D/SlideShowConstructor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/slideshow3D/SlideShowConstructor.cpp b/examples/slideshow3D/SlideShowConstructor.cpp index 7a124cb90..d20e0673f 100644 --- a/examples/slideshow3D/SlideShowConstructor.cpp +++ b/examples/slideshow3D/SlideShowConstructor.cpp @@ -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,