From 48e5358587dd934107880f4d4ef7f6638446b012 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 27 Aug 2025 23:57:07 +0100 Subject: [PATCH] Disable expensive post-cull bounds calculations that never help very much --- components/sceneutil/mwshadowtechnique.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index 5f033cb612..7ee4fb9511 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -2762,7 +2762,7 @@ bool MWShadowTechnique::adjustPerspectiveShadowMapCameraSettings(osgUtil::Render } #endif -#if 1 +#if 0 if (renderStage) { #if 1 @@ -2984,7 +2984,7 @@ bool MWShadowTechnique::adjustPerspectiveShadowMapCameraSettings(osgUtil::Render OSG_NOTICE<<"convexHull max_z_ratio = "<