Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache trail compass renders #26

Open
dlamkins opened this issue Jul 20, 2021 · 1 comment
Open

Cache trail compass renders #26

dlamkins opened this issue Jul 20, 2021 · 1 comment
Labels
enhancement New feature or request under consideration Features or changes which should be reviewed and considered for future versions.

Comments

@dlamkins
Copy link
Member

dlamkins commented Jul 20, 2021

Rendering trails is the most taxing of pathables to render because each segment of the trail is its own draw (at this time) via 2D spritebatch. Consider the option to cache the trail to it's own render target and then use the render target for all future draws of that trail. Would need to take note of the memory usage as the textures would need to be drawn at the highest zoom.

@dlamkins dlamkins added enhancement New feature or request under consideration Features or changes which should be reviewed and considered for future versions. labels Jul 20, 2021
@dlamkins
Copy link
Member Author

If Fade Trail Segments Which Are High Above or below is enabled, then this may cause complications since we wouldn't be able to keep it as a single texture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under consideration Features or changes which should be reviewed and considered for future versions.
Projects
None yet
Development

No branches or pull requests

1 participant