Page 1 of 1
Large dungeon performance issues
Posted: Mon Nov 03, 2014 3:46 am
by GoldenShadowGS
I have a large dungeon underground with height levels from -7 floors to +4 ceilings. There are lots of things going on and at certain points my frame rate is tanking to under 30fps. Whats the biggest resource hogs that I need to watch out for? is it water? too many monsters, too much world geometry being rendered?
Re: Large dungeon performance issues
Posted: Mon Nov 03, 2014 4:17 am
by Skuggasveinn
The engine is fairly good at pushing polygons, what you need to look out for are dynamic lights (lanters, torches and other dynamic light sources including particles that emit light), water and water reflections.
Re: Large dungeon performance issues
Posted: Mon Nov 03, 2014 4:29 am
by GoldenShadowGS
Skuggasveinn wrote:The engine is fairly good at pushing polygons, what you need to look out for are dynamic lights (lanters, torches and other dynamic light sources including particles that emit light), water and water reflections.
Great suggestion. I cleaned up some of my lights and got back a lot of fps. I guess I went a bit too overboard lighting everything.
Re: Large dungeon performance issues
Posted: Mon Nov 03, 2014 12:23 pm
by gambit37
I was wondering about this too. Are there any "rules" on the maximum number of lights that should be viewed at the same time? Or is it just a case of experimentation and testing on a variety of different spec machines?
Re: Large dungeon performance issues
Posted: Mon Nov 03, 2014 2:07 pm
by GoldenShadowGS
It seems for my dungeon tiled level. The torch holders are much more expensive to render than the pillar lanterns. It seems like the wall torches cast dynamic shadows while the lanterns don't.
Re: Large dungeon performance issues
Posted: Mon Nov 03, 2014 7:00 pm
by msyblade
Though we haven't tried to push this engine to its limits, in LoG1 modding the golden rule was generally: 2 visible lights : fine, 3 visible lights : pushing it, 4 or more visible lights : bad idea