Skip to content
New issue

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

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

Already on GitHub? # to your account

Merge some vanilla texture atlases so the game has to generate less of them? #2942

Open
muzikbike opened this issue Dec 17, 2024 · 0 comments
Labels
S-needs-triage Status: Needs triage T-enhancement Type: Enhancement

Comments

@muzikbike
Copy link
Contributor

Request Description

Following up on #2941 since this may also improve resource loading times and VRAM usage, though I don't know if implementing these changes might impact mod compatibility.

Currently the vanilla game generates fourteen different texture atlases every time, which is a handful - some of these could potentially be merged to reduce the number of atlases the game needs to keep track of.

Merging mob_effects.png-atlas into gui.png-atlas is an obvious first step - the mob effects atlas only exists because the split of mob effect icons happened in 1.14 whereas splitting every other GUI element happened in 1.20.2 - if they had happened at the same time, mob effects undoubtedly would have been part of the GUI atlas since they're GUI sprites. This may also fix MC-277486.

As for other atlases, it may be a good idea to merge at least some of the existing block entity atlases. The chests and signs atlases are small enough on their own that they could possibly be merged into a single combined atlas. Beds and shulker boxes could also be merged into this, since there are only 16/17 color variants for each. The armor trims atlas is huge and definitely should not be touched.

@muzikbike muzikbike added S-needs-triage Status: Needs triage T-enhancement Type: Enhancement labels Dec 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-needs-triage Status: Needs triage T-enhancement Type: Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant