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

Make ground fire shader entityMergable #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Contributor

@slipher slipher commented Jan 10, 2025

Fixes Unvanquished/Unvanquished#1495 (I assume; I don't use that graphics card any more) by allowing all flame sprites to be combined in one draw call.

I had imagined that maybe they were drawn separately so that different frames could have different animation frames. But in reality animMap ignores the entity shaderTime (although perhaps it shouldn't), so making the entities mergible doesn't change anything. The frames are already synchronized and it isn't really noticeable.

Fixes #1495 (I assume; I don't use that graphics card any more) by
allowing all flame sprites to be combined in one draw call.

I had imagined that maybe they were drawn separately so that different
frames could have different animation frames. But in reality animMap
ignores the entity shaderTime (although perhaps it shouldn't), so making
the entities mergible doesn't change anything. The frames are already
synchronized and it isn't really noticeable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flamer graphics performance still bad
1 participant