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

Add hfrag, clean up some background renderer stuff #3509

Merged
merged 14 commits into from
May 10, 2024
Merged

Add hfrag, clean up some background renderer stuff #3509

merged 14 commits into from
May 10, 2024

Conversation

water111
Copy link
Collaborator

@water111 water111 commented May 8, 2024

This adds hfrag, but with a few remaining issues:

  • The textures aren't animated. Instead, it just uses one texture.
  • The texture filtering isn't as good as at it could be.

I also cleaned up a few issues with the background renderers:

  • Cleaned up some stuff that is common to hfrag, tie, tfrag, shrub
  • Moved time-of-day color packing stuff to FR3 creation, rather than at level load. This appears to reduce the frame time spikes when a level is first drawn by about 5 or 6 ms in big levels.
  • Cleaned up the x86 specific stuff used in time of day. Now there's only one place where we have an ifdef, rather than spreading it all over the rendering code.

@water111 water111 merged commit 5b04be2 into master May 10, 2024
9 of 10 checks passed
@water111 water111 deleted the w/hfrag branch May 10, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant