跳到正文

BetterChunkCulling

作者:0xNull

Increase FPS in Minecraft 1.12.2 by using a 3D ellipsoidal algorithm to skip rendering unseen chunks

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Better Chunk Culling

Better Chunk Culling is a performance mod for Minecraft 1.12.2 designed to significantly increase FPS, especially on low-end computers and systems with integrated graphics, but at the cost of poorer rendering quality

How it works (Technical Details)

The original Minecraft engine processes rendering fragments in rigid cubic regions using standard frustum calculations. Better Chunk Culling uses MixinBooter to integrate directly into the internal rendering process (RenderGlobal / chunk setup logic)

Replaces Vanilla’s rendering checks with a 3D ellipsoidal culling algorithm, which dynamically omits 16x16x16 block sections that are not visible and lie outside the player’s field of view

To minimize the CPU load, use an optimized elliptic distance-squared formula that avoids computationally expensive square root calculations (Math.sqrt):

Distance² = (dx)² + (dy * k)² + (dz)²

Note: Because invisible chunks are aggressively removed to maximize the frame rate, in rare cases, minor lighting glitches or delays in block updates may occur. I strongly recommend using the Alfheim Lighting Engine.


Benchmark results

Tests conducted on older, ultra-low-end hardware (Intel Pentium E2220 CPU at 2.76 GHz with integrated Intel GMA 3100 / G31 graphics):

Benchmark Condition FPS Rendered Chunk Sections
Vanilla + MixinBooter 16 FPS 75 / 2704
With Better Chunk Culling 27 FPS (+68%) 42 / 1936 (~45% less GPU load)

Vanilla & BCC Performance

Note: This may not apply to all hardware configurations, but it worked for me


Bug reports

If you encounter any problems or visual errors, please report them on the GitHub Issue Tracker

常见问题

BetterChunkCulling 支持哪些 Minecraft 版本?

BetterChunkCulling 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

BetterChunkCulling 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

0xNull 的其他作品

查看全部 →