From 2f97d26d297f46bcc124703dcd896c0fa1add2b7 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 31 May 2024 16:42:44 +1000 Subject: [PATCH] Q1BSP: use engine default for gl_max_lightmapsize (currently 512) This more than doubles average FPS and improves worst-case frametimes on many Q1BSP maps, and has no effect on Xonotic / Q3BSP maps (as tested with: weapon and powerup dlights in timedemo, animated realtime world lights both with and without shadows in static tests). In old versions of DP (div0-stable), 512 1024 and 4096 all had equally bad perf. In current DP the perf is far better but only when the right setting is used. For most hardware, old and new, 512 seems to be the sweet spot. Lower settings are somewhat worse, higher settings are MUCH worse. Signed-off-by: bones_was_here --- xonotic-client.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/xonotic-client.cfg b/xonotic-client.cfg index f71fdad12..cafc30700 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -300,7 +300,6 @@ gl_picmip_sprites 0 gl_picmip_other 1 // so, picmip -1 is best possible quality r_mipsprites 1 r_mipskins 1 -gl_max_lightmapsize 4096 r_shadow_realtime_world_lightmaps 1 r_shadow_realtime_world_importlightentitiesfrommap 0 // Whether build process uses keepLights is nontransparent and may change, so better make keepLights not matter. cl_decals_fadetime 5 -- 2.39.2