
AnimFix
Decreases the stuttering caused by animated textures in 1.7.10
- Загрузки
- 11K
- Подписчики
- 13
- Обновлён
- 28 августа 2022 г.
- Лицензия
- LGPL-3.0-only
Опубликован 21 мая 2022 г.
UPDATE: This mod has been merged into FalseTweaks, this mod won't receive updates anymore.
A mixin-based library to improve the horrible stuttering in heavily modded games caused by animated textures (OptiFine calls it "Animated Terrain", but this mod actually optimizes the way said animations are uploaded to the graphics card, instead of just outright turning them off and calling that a "fix").
This happens because each individual animated texture has to separately upload its contents to the GPU. Each of these uploads has a nonzero overhead, which quickly spirals out of control when faced with hundreds or even thousands of animated textures.
This mod fixes that problem by batching those animated textures into a single gigantic texture, which gets uploaded in a single step. This causes a little bit of extra video memory usage, but with modern hardware it's negligible, while the overhead of individually uploading tiny textures is not.
The batching has a user-configurable limit, see the mod's config file for more information.
Dependencies
This project WILL NOT be ported to any version beyond 1.7.10, don't even ask.
Центр версий
7 версийЧенджлог
2.2.1Релиз1.7.10 · 28 августа 2022 г.
2.2.0Релиз1.7.10 · 27 августа 2022 г.
Made texture batching double-buffered. Additionally, batching is done in parallel with game logic on a separate worker thread, effectively removing all the overhead that was caused by batching.
2.1.0Релиз1.7.10 · 26 августа 2022 г.
- Updated to FalsePatternLib 0.10
- Improved animated texture performance a bit more
2.0.0-hotfix1Релиз1.7.10 · 28 июня 2022 г.
- Complete reimplementation of the texture stitcher, now it should be working correctly and all weird texture bugs should be gone.
- Modernized config system
- Updated to FalsePatternLib 0.9.x
- Main menu config gui. Changing the batching threshold here instead of the config file will automatically apply the change without a game restart.
Additionally, the reimplemented stitcher also COMPLETELY replaces the vanilla stitcher, which makes atlas stitching a lot faster compared to whatever spaghetti code was originally doing that.
Special credit to Sciss for the MIT-licensed java rectangle packing code, i took that code as a base and improved upon it to achieve this.
2.0.0Альфа1.7.10 · 28 июня 2022 г.
- Complete reimplementation of the texture stitcher, now it should be working correctly and all weird texture bugs should be gone.
- Modernized config system
- Updated to FalsePatternLib 0.9.x
- Main menu config gui. Changing the batching threshold here instead of the config file will automatically apply the change without a game restart.
Additionally, the reimplemented stitcher also COMPLETELY replaces the vanilla stitcher, which makes atlas stitching a lot faster compared to whatever spaghetti code was originally doing that.
Special credit to Sciss for the MIT-licensed java rectangle packing code, i took that code as a base and improved upon it to achieve this.
1.4.1Релиз1.7.10 · 12 июня 2022 г.
Fixed a bug that caused animated textures to sometimes disappear.
1.4.0Релиз1.7.10 · 21 мая 2022 г.
Initial modrinth release. See the github repo for more info.
Комментарии
Загружаем…