MantisBT - Zandronum
View Issue Details
0003197Zandronum[All Projects] Bugpublic2017-07-25 16:252017-07-26 03:30
nik 
 
normalminoralways
newopen 
MicrosoftWindowsXP/Vista/7
 
 
0003197: gl_lights_size set to 2 can cause massive lag/low fps in some maps
If gl_lights_size is set to 2 it causes fps drop, even if you are in software mode, on some maps.
Happens in 2.1.2 and 3.0.
Best map to reproduce it, is map ZE12 in Zombie Horde (for example in the server "[Ireland] BlueIon's server with VANILLA Zombie Horde!!!").
There the fps drop happens every 5 seconds or so.
Also the bottom "Last player alive" text starts to fade out when the fps drop happens and reappers when the fps drop stops.
It also happens when gl_lights_size is set to 1.9, but hardly noticeable.
No tags attached.
Issue History
2017-07-25 16:25nikNew Issue
2017-07-25 16:33nikNote Added: 0018096
2017-07-26 03:30nikNote Edited: 0018096bug_revision_view_page.php?bugnote_id=18096#r10826

Notes
(0018096)
nik   
2017-07-25 16:33   
(edited on: 2017-07-26 03:30)
After some more testing i think i figured it out.
Big GL lights seem to need a lot of processing power, and in maps like ZE12 where are a lot of GL light which newly spawn at intervals, it needs to process them everytime causing fps drops.
In most other maps with GL lights there are no issues unless setting it to something like gl_lights_size 10+.

So its probably just a map related issue and this can be closed.

But anyway i suggest when GL lightning is turned off or zandronum is in software mode, it should behave like gl_lights_size is 0, effectively saving unnecessary processing power for users playing without GL lightning or in software mode.
The way it is now, they are getting processed no matter if they are actually used or not.