Closed BC46 closed 6 months ago
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.
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.
I'm going to revert the changes made in effect_types.ini
because they do not really make a significant difference anyway (appearance-wise).
A while ago I updated the
effect_types.ini
file to ensure that every effect exists off-screen and gets updated off-screen (https://github.com/BC46/freelancer-hd-edition/commit/5962afdd80635088c684cbee45835a3c992c7ff4). 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.