diff --git a/src/osgUtil/CullVisitor.cpp b/src/osgUtil/CullVisitor.cpp index 9b4f25588..97a104737 100644 --- a/src/osgUtil/CullVisitor.cpp +++ b/src/osgUtil/CullVisitor.cpp @@ -224,8 +224,8 @@ void CullVisitor::popProjectionMatrix() // so it doesn't cull them out. osg::Matrix& projection = *_projectionStack.back(); - double desired_znear = _computed_znear; - double desired_zfar = _computed_zfar; + double desired_znear = _computed_znear*0.98f; + double desired_zfar = _computed_zfar*1.02f; double min_near_plane = _computed_zfar*0.0005f; if (desired_znear