From c71a0c72e4520da495dd4e5627dcebdfd72970d2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 17 Aug 2011 17:06:55 +0000 Subject: [PATCH] Added back in control of the backface culling. --- src/osgShadow/ViewDependentShadowMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgShadow/ViewDependentShadowMap.cpp b/src/osgShadow/ViewDependentShadowMap.cpp index d62724312..225411f44 100644 --- a/src/osgShadow/ViewDependentShadowMap.cpp +++ b/src/osgShadow/ViewDependentShadowMap.cpp @@ -701,7 +701,7 @@ void ViewDependentShadowMap::createShaders() _shadowCastingStateSet = new osg::StateSet; -#if 0 +#if 1 // note soft (attribute only no mode override) setting. When this works ? // 1. for objects prepared for backface culling // because they usually also set CullFace and CullMode on in their state