BadOptimizations
A collection of mostly micro optimizations that add up to something bigger!
What does it do?
Multiple things:
- Avoid updating lightmap
Updating lightmap textures are one of the most expensive parts of the client tick. During each tick, the client will do vector math to calculate lightmaps for blocks and the sky, then upload that new texture to the GPU. However, this can be completely avoided and cached if nothing affecting block brightness has changed. This mod will cancel lightmap updates if nothing that changes block brightness (e.g. gamma slider, potion effects, dimension) has changed. - Sky color calculation optimizations
Minecraft uses a cubic color sampler every frame to calculate the current sky color. This function loops 216 times to factor in surrounding biomes, even if all surrounding biomes are identical or have identical sky colors. This mod makes the color sampler only used if you are between biomes with different sky colors, and caches it for each tick. Otherwise, a shorter, simpler and faster sky color calculation is used. - Don't do debug logic if we don't need to
Minecraft has four debug renderers that can be activated with a debug server: bees, game events, game test and villager AI. Even if there's nothing to process, the logic for these debug renderers are still executed. This mod will only execute them if debug is enabled and there is data from the server to process.
That's a few of them, at least. You can disable any optimization in the config file if you need to.
How much does it help?
Depends on your system and luck, but on my own PC, an RTX 3060, intel i7 12700 and 4GB of allocated ram on Fabulously Optimized:
Without toasts, it goes from 1926-1955 FPS:
To 2008-2023 FPS:
And with toasts, it goes from 1351-1384 FPS:
To 1414-1458 FPS:
My mod is incompatible!
You can mark your mod as incompatible with specific BadOptimizations options. If your mod is present, BadOptimizations will automatically disable the specific options you specify.
Dependencies?
None.
Find more on the GitHub page.
It's also available on Modrinth.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 340 | 4 天前更新
匠途闲境 - Create Craft & Quiet
热度 234 | 4 天前更新
VERITY.exe
热度 392 | 1 周前更新
咒术回战(咒术战斗)
热度 69019 | 1 周前更新
暮色森林精选 - The Best of Twilight Forest
热度 25628 | 1 周前更新
无限计划 0.1 - Project Infinity 0.1
热度 9759 | 1 周前更新
黑暗RPG - DarkRPG - Forge
热度 9631 | 1 周前更新
[TLWS]末世生辉 The Last World Shines
热度 9431 | 1 周前更新
简易小屋
热度 647 | 2 周前更新
灾厄巫咒
热度 673 | 2 周前更新
阿卡迪亚的天启
热度 2874 | 2 周前更新
寄生仙途
热度 818 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!