FLHDE/freelancer-hd-edition

Investigate whether performance issues occur with the effect_types.ini changes

Closed this issue · 3 comments

BC46 commented

A while ago I updated the effect_types.ini file to ensure that every effect exists off-screen and gets updated off-screen (5962afd). However, since doing this I always had this idea in the back of my head that it may somehow cause performance issues. I never did any proper tests because at first I thought everything will be fine, but now I would like to have this figured out. Because it's possible that these changes may cause unnecessary stutters/lag during large battles for example.

Generally effects and particle systems are one of the most expensive things a game has, next to shadow calculations (which FL does not have). So it makes perfect sense to even in FL try and have a good performance on effects. Especially since you also have set up system-wide effect visibilities with the high pbubble values.

BC46 commented

Despite the very high values for pbubble, no effect will be drawn beyond the space_farclip (poly flipping) distance, which is set to 40,000 in HDE.

BC46 commented

I'm going to revert the changes made in effect_types.ini because they do not really make a significant difference anyway (appearance-wise).