Added an optimization to the decor lights. Surface decorations are now cached and linked with surface_t to avoid having to do all the calculations every frame (this provided a very health boost to the fps in large maps like dv.wad::MAP05).
Currently, there is a fixed limit on the number of decorations per surface. I'll remove this limit shortly.
Added an optimization to the decor lights. Surface decorations are now cached and linked with surface_t to avoid having to do all the calculations every frame (this provided a very health boost to the fps in large maps like dv.wad::MAP05).
Currently, there is a fixed limit on the number of decorations per surface. I'll remove this limit shortly.