Greedy Meshing Mod
一个客户端侧 Fabric 优化模组,它将相同的相邻方块面合并为更大的四边形(quad),从而减少总顶点数以提升 GPU 性能。
功能
- 自动合并不透明的完整立方体方块面
- 自定义地形光影,以在合并面上正确平铺纹理
- 激进贪婪(绝对)模式。它会在环境光遮蔽边界处进行合并,从而获得更少的四边形,代价是光照略微粗糙
- 贪婪水面模式(非常实验性)。将平坦静止的水面(开阔海洋、湖泊内部)合并为更大的四边形。海岸线和流动的水不受影响。VulkanMod 不支持此功能
- 合并方向性方块模式(实验性)。允许具有朝向/轴/旋转属性的方块(常见于模组方块)在验证其烘焙模型为标准六面立方体且 UV 正常后参与合并,从而提高普通地形的合并率,而不是直接排除这些方块
- 兼容 Sodium
- 兼容 VulkanMod(1.21-1.21.5, 1.21.9-1.21.11, 26.1-26.1.2;1.21.6-1.21.8 不可用,因为 VulkanMod 从未发布过对应版本)
- 兼容 Distant Horizons
- 兼容 Sable(开启贪婪网格化后,子层级几何体不再双重变暗)
- 支持 Minecraft 26.2 的原生实验性 Vulkan 渲染后端
- 调试线框和分屏比较模式
- 游戏内配置界面(需要 Cloth Config + Mod Menu)
- Sodium 上的 ColorLight 兼容性。合并后的地形保留其平铺纹理和彩色光照。在顶点颜色模式下,靠近彩色光源的方块会单独渲染以保持光照效果。
- Minecraft 26.3 上的实验性 Nvidium 支持,需配合 Nvidium 0.4.4-beta7。在启动器的 JVM 参数中添加
-Dgreedy_meshing.experimentalNvidium=true以启用。
支持版本
| Minecraft | Loader |
|---|---|
| 1.21 - 1.21.11 | Fabric |
| 26.1 - 26.3 | Fabric |
性能
性能提升因硬件和世界而异。如果你的 GPU 利用率已经很低(高 FPS),改进可能微乎其微。该模组在低端 GPU、较高渲染距离以及拥有大量相同方块类型的平坦表面(例如超平坦地形、地下洞穴、大型建筑)的世界中收益最大。
已知限制
- 光影包(Iris/OptiFine)未完全支持。模组会回退到仅剔除面的模式。
- 具有随机纹理旋转的方块(例如草)将以单一纹理方向渲染,而非原版随机的旋转效果。这是为了性能而缓存方块外观的副作用,计划不会更改,因为修复它会降低受影响方块的合并效率。
- 大型合并表面的光照可能与原版略有不同。
- 贪婪水面模式处于实验阶段(某些水面在 Sodium 上可能会出现缺失或黑色的面)。根本原因尚未确定。如果看到此问题,请禁用贪婪水面模式。
- 合并方向性方块模式处于实验阶段。如果合并后的方块出现拉伸或对齐错误的纹理,请禁用此选项并报告该方块。
- Nvidium。当安装 Nvidium 时,除非在支持的版本上启用了实验性集成,否则贪婪网格化将被禁用。
致谢
本模组基于 BuggiestStudios 的 Greedy Meshing 分支,并进行了大量修改,包括多版本支持(通过 Stonecutter)和二进制网格化。
Greedy Meshing Mod
A client-side Fabric optimization mod that merges identical adjacent block faces into larger quads, reducing the total vertex count for better GPU performance.
Features
- Automatic merging of opaque full-cube block faces
- Custom terrain shaders for correct texture tiling on merged faces
- Aggressive Greedy (Absolute) option. It merges across ambient-occlusion boundaries for even fewer quads, at the cost of slightly coarser lighting
- Greedy Water option (VERY experimental). Merges flat still-water surfaces (open oceans, lake interiors) into larger quads. Shorelines and flowing water are unaffected. Not supported on VulkanMod
- Merge Oriented Blocks option (experimental). Allows blocks with a facing/axis/rotation property (common on modded blocks) to merge once their baked model is verified to be a plain six-face cube with standard UVs, raising the merge rate on normal terrain instead of excluding those blocks outright
- Sodium compatible
- VulkanMod compatible (1.21-1.21.5, 1.21.9-1.21.11, 26.1-26.1.2; 1.21.6-1.21.8 not available, VulkanMod was never released for those)
- Distant Horizons compatible
- Sable compatible (sub-level geometry no longer double-darkens with greedy meshing on)
- Works with Minecraft 26.2's native experimental Vulkan rendering backend
- Debug wireframe and split-screen comparison mode
- In-game config screen (requires Cloth Config + Mod Menu)
- ColorLight compatibility on Sodium. Merged terrain keeps its tiled textures and colored lighting. In vertex-color mode, blocks near colored lights render individually to preserve their lighting.
- Experimental Nvidium support on Minecraft 26.3 with Nvidium 0.4.4-beta7. Add
-Dgreedy_meshing.experimentalNvidium=trueto your launcher's JVM arguments to enable it.
Supported Versions
| Minecraft | Loader |
|---|---|
| 1.21 - 1.21.11 | Fabric |
| 26.1 - 26.3 | Fabric |
Performance
Performance gains vary depending on your hardware and world. If your GPU is already underutilized (high FPS), the improvement may be minimal. The mod benefits most on lower-end GPUs, higher render distances, and worlds with large flat surfaces of the same block type (e.g. superflat, underground caves, large builds).
Known Limitations
- Shader packs (Iris/OptiFine) are not fully supported. The mod falls back to face-culling-only mode.
- Blocks with random texture rotation (example: grass) will be rendered with a single texture orientation instead of vanilla's randomization. This is a side effect of caching block appearance for performance and is not planned to change, as fixing it would reduce merging efficiency on affected blocks.
- Lighting on large merged surfaces may look slightly different from vanilla.
- Greedy Water is experimental (some water surfaces may render with missing or black faces on Sodium). The root cause is not yet identified. Disable Greedy Water if you see this.
- Merge Oriented Blocks is experimental. If a merged block renders with a stretched or misaligned texture, disable this option and report the block.
- Nvidium. Greedy meshing is disabled when Nvidium is installed unless the experimental integration is enabled on a supported version.
Credits
Fork of Greedy Meshing by BuggiestStudios, with significant modifications including multi-version support (via Stonecutter), binary meshing.
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
下载 Greedy Meshing Mod
查看完整更新日志:
查看完整更新日志:
查看完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
评论 0
登录后参与评分
还没有评论,来抢沙发吧