FAForever / fa

Lua code for FAF
221 stars 228 forks source link

Reduce the lifetime of water trails #6088

Closed Garanas closed 3 months ago

Garanas commented 3 months ago

Description of the proposed changes

This reduces the life time of water trails to a similar value to what we have for footprints and tread marks. When you zoom out and back in all emitters are recomputed. The water trails are surprisingly complex (multiple emitters per unit that last 10 to 15 seconds on average) and are therefore a prime target for a frame time spike.

Testing done on the proposed changes

Spawn in naval units and observe the trail.

Additional context

I'd also like to review the other water trail effects.

Checklist