From: bones_was_here Date: Fri, 31 May 2024 06:42:44 +0000 (+1000) Subject: Q1BSP: use engine default for gl_max_lightmapsize (currently 512) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f97d26d297f46bcc124703dcd896c0fa1add2b7;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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