Mark., on 16 February 2016 - 11:41 AM, said:
You haven't been around for quite a while so I don't know if you were aware that Decay finally got released at the end of December. Included in the game is a con tweak which disables Polymer lights not in the immediate area of the player. In many instances it raised the framerate throughout the maps. I can ask our project leader if that code is portable enough to slap in your project and if he would be willing to share the secret. He might even answer here himself.
Supplemental facts:
-Turning off lights that are distant and/or low priority to increase FPS has been a feature in several released Polymer projects -- its not a secret and it's not new.
-EDuke32 itself now has a pretty good set of optimization options right in the menu
-But turning off lights is a compromise. In some cases it does significantly downgrade the visual experience. It can also introduce new visual glitches (mainly when the player is able to see lights turning off and on)
-None of this helps the actual mapping process, since you would definitely want all lights working normally during map construction