Skip to content

Reduce the lifetime of water trails#6088

Closed
Garanas wants to merge 6 commits intodeploy/fafdevelopfrom
performance/water-trail-lifetime
Closed

Reduce the lifetime of water trails#6088
Garanas wants to merge 6 commits intodeploy/fafdevelopfrom
performance/water-trail-lifetime

Conversation

@Garanas
Copy link
Member

@Garanas Garanas commented Apr 16, 2024

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

  • Changes are annotated, including comments where useful
  • Changes are documented in the changelog for the next game version

Pokute and others added 6 commits March 31, 2024 23:15
Now also affects torpedo defences, SAMs and TMDs. Bug: HARMS still always points south.
Previously t2 arty pointed only north or south towards closest enemy or center.
Now all t2+ static arty points at center of map but limited to 90 degree steps in order to not affect pathing/terrain.
Co-authored-by: lL1l1 <82986251+lL1l1@users.noreply.github.com>
Co-authored-by: lL1l1 <82986251+lL1l1@users.noreply.github.com>
@Garanas Garanas added the area: graphics Anything Related to the Game Graphics label Apr 16, 2024
@Garanas Garanas closed this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Anything Related to the Game Graphics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants