It can be quite severe in some case.
Here is a good example of it using this map. FPS can drop to single digit values while looking and/or moving around.
Code: Select all
-iwad doom2 -file sshpsos.zip -nomonsters +map map01 "+warp -4700 4400" +vid_fps 1
In the current master the condition should be put at the beginning of FDrawInfo::SetupSectorLights() function.
Graf, could you please take a look at this when you have time.
I'm not sure about other potential places for such checks, i.e. flats (sectors/subsector) and walls.