]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Q1BSP: use engine default for gl_max_lightmapsize (currently 512)
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 31 May 2024 06:42:44 +0000 (16:42 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 31 May 2024 06:42:44 +0000 (16:42 +1000)
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 <bones_was_here@xonotic.au>
xonotic-client.cfg

index f71fdad12376d43437512e870037a64f736593c1..cafc307005514af89b1c80c6f1879ff9b8d1c632 100644 (file)
@@ -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