From 1b018b71fcd5534527f5ad55af0058b7fc407bfd Mon Sep 17 00:00:00 2001 From: Non <43197300+nonperforming@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:30:56 +1200 Subject: [PATCH] Reduce shadowMapSize to 32 I've seen +7% on one of my devices with no immediate effects shown --- Sources/Draw/GLSettings.cpp | 2 +- info/diff.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Draw/GLSettings.cpp b/Sources/Draw/GLSettings.cpp index 4fc00283a..7ef10d553 100644 --- a/Sources/Draw/GLSettings.cpp +++ b/Sources/Draw/GLSettings.cpp @@ -61,7 +61,7 @@ DEFINE_SPADES_SETTING(r_radiosity, "0"); DEFINE_SPADES_SETTING(r_saturation, "1"); DEFINE_SPADES_SETTING(r_scale, "1"); DEFINE_SPADES_SETTING(r_scaleFilter, "1"); -DEFINE_SPADES_SETTING(r_shadowMapSize, "2048"); +DEFINE_SPADES_SETTING(r_shadowMapSize, "32"); DEFINE_SPADES_SETTING(r_sharpen, "0"); DEFINE_SPADES_SETTING(r_softParticles, "0"); DEFINE_SPADES_SETTING(r_sparseShadowMaps, "1"); diff --git a/info/diff.md b/info/diff.md index eafda6705..a52024cca 100644 --- a/info/diff.md +++ b/info/diff.md @@ -143,7 +143,7 @@ r_renderer: gl r_renderer: gl r_saturation: 1 r_saturation: 1 r_scale: 1 r_scale: 1 r_scaleFilter: 1 r_scaleFilter: 1 -r_shadowMapSize: 2048 r_shadowMapSize: 2048 +r_shadowMapSize: 32 | r_shadowMapSize: 2048 r_sharpen: 0 | r_sharpen: 1 r_softParticles: 0 | r_softParticles: 1 r_sparseShadowMaps: 1 r_sparseShadowMaps: 1