The NEW Modrinth Technologies™ website BETA is now live!!Learn moreTry it out
AnimFix

AnimFix

Decreases the stuttering caused by animated textures in 1.7.10

Client Optimization

1,962 downloads
7 followers
Created10 months ago
Updated7 months ago

External resources



Project members

FalsePattern

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID
AnimFix has been archived. AnimFix will not receive any further updates unless the author decides to unarchive the project.

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.