by Graf Zahl » Fri Jan 26, 2018 1:23 pm
What you definitely can do is to stop at segs which are completely outside the cone, provided that this can be done quickly.
Anyway, if you got an idea how to improve performance of creating all the light lists, be my guest.
The algorithm was originally from ZDoomGL, although that original was even more inefficient that what's there now.
In the end this is just one of those things where the Doom engine does not mix well with modern rendering effects
What you definitely can do is to stop at segs which are completely outside the cone, provided that this can be done quickly.
Anyway, if you got an idea how to improve performance of creating all the light lists, be my guest.
The algorithm was originally from ZDoomGL, although that original was even more inefficient that what's there now.
In the end this is just one of those things where the Doom engine does not mix well with modern rendering effects