- Timestamp:
- 05/22/13 15:16:44 (105 minutes ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgShadow/ViewDependentShadowMap.cpp
r13109 r13110 800 800 } 801 801 802 //minZNear = osg::maximum(10.0,minZNear); 803 //maxZFar = osg::minimum(60.0,maxZFar); 804 802 // clamp the minZNear and maxZFar to those provided by ShadowSettings 803 maxZFar = osg::minimum(settings->getMaximumShadowMapDistance(),maxZFar); 804 if (minZNear>maxZFar) minZNear = maxZFar*settings->getMinimumShadowMapNearFarRatio(); 805 806 //OSG_NOTICE<<"maxZFar "<<maxZFar<<std::endl; 807 805 808 Frustum frustum(&cv, minZNear, maxZFar); 806 809
