更新:本模组已合并至 FalseTweaks,本模组将不再接收任何更新。
这是一个基于 mixin 的库,旨在改善重度模组化游戏中由动画纹理引起的严重卡顿问题(OptiFine 称之为“Animated Terrain”,但本模组实际上优化了这些动画上传至显卡的方式,而不是简单地将其关闭并声称这是“修复”)。
出现这种情况是因为每个独立的动画纹理都需要单独将其内容上传至 GPU。每次上传都伴随着一定的非零开销,当面对数百甚至数千个动画纹理时,这种开销会迅速失控。
本模组通过将那些动画纹理批量合并为一个巨大的单一纹理来解决该问题,该大纹理只需一次性上传即可。这会导致少量的显存占用增加,但在现代硬件上可以忽略不计,而单独上传微小纹理所带来的开销则不可忽略。
批处理具有用户可配置的上限,详情请参阅模组的配置文件。
依赖项
本项目绝不会移植到 1.7.10 之后的任何版本,请勿询问。
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.
下载 AnimFix
下载 AnimFix
下载 AnimFix
下载 AnimFix
下载 AnimFix
下载 AnimFix
下载 AnimFix
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
评论 0
登录后参与评分
还没有评论,来抢沙发吧