promotional bannermobile promotional banner

AcceleratedRendering-Ported

Fast vertex transform and caching using compute shader.

About the Mod
This mod offloads Minecraft's vanilla CPU vertex transformation pipeline to GPU compute shaders. In simple terms: vanilla Minecraft performs per-vertex matrix transformations on the CPU when rendering entity models, which becomes a performance bottleneck in entity-dense scenes.

AcceleratedRendering intercepts rendering calls, builds geometry data into GPU meshes and caches them, performs vertex transformations in parallel on the GPU, and finally submits batched draw calls — reducing CPU-side overhead.

Acceleration Scope
Accelerated: entity models, entity shadows, dropped items and held items in the world, block models (including tinting), text rendering (BakedGlyph / Font), GUI container screens (batching of fills, blits, slots, fonts, items, and highlights). Also provides selective filtering for entities, block entities, and containers, allowing specific types to be excluded from the acceleration pipeline on demand.

Unavailable: first-person hand item acceleration. Full chain analysis shows that at the injection point, the frustum matrix and hand projection matrix should theoretically cancel each other out, but actual rendering still exhibits perspective stretching. This path has been reverted to the vanilla rendering pipeline, pending future runtime debugging.

Mod Compatibility
Verified: Iris Shaders 1.8.8 (with dedicated compute shaders and extended vertex format support), ModernUI 3.12.0.3 (batched rendering for text, glyphs, and outlines), Sodium 0.6.13 (compile-time compatibility).

Compatibility code written but not yet fully verified due to version changes: ImmediatelyFast, Create, EMF (Entity Model Features), GeckoLib 4.8, Touhou Little Maid, FTB Library, Trinkets, Tweakmore, Sophisticated Core.

Configuration
Open the in-game configuration screen via ModMenu to independently toggle acceleration for each render type, switch between accelerated and vanilla pipelines, adjust mesh collection and caching strategies, edit filter allow/block lists, and control the behavior of various compatibility mod features.

Known Issues
Hand item acceleration is currently unavailable due to matrix stretching.
Tweakeroo Free Camera: rapidly toggling Free Camera (soul departure) may trigger an occasional NPE in GUI batching where renderType is null. Cannot be reliably reproduced, so this remains unfixed for now.
Credits
This mod is derived from Argon4W's NeoForge original, iterated through ZhuRuoLing's Fabric 1.21.1 port and Luna5ama's NeoForge 1.21.4 port. The Fabric 1.21.4 adaptation was completed by namelessgod2008 (AI-assisted). Released under the MIT License.

Note: This version is a community port. If you encounter issues, please report them to the porter (namelessgod2008). Do not report them to the original author Argon4W.

 

关于模组

本模组将 Minecraft 原版的 CPU 顶点变换管线迁移至 GPU 计算着色器执行。简单来说:原版渲染实体模型时,CPU 需要逐顶点计算矩阵变换,实体密集场景下这会成为性能瓶颈。

AcceleratedRendering 拦截渲染调用后,将几何数据构建为 GPU Mesh 并缓存,由 GPU 并行完成顶点变换,最后统一提交批量绘制,从而降低 CPU 侧开销。

加速范围

已实现加速:实体模型、实体阴影、世界中的掉落物与手持物品、方块模型(含着色)、文字渲染(BakedGlyph / Font)、GUI 容器界面(填充、位块传输、槽位、字体、物品、高亮的批处理)。另提供实体、方块实体、容器的选择性过滤功能,可按需将特定类型排除出加速管线。

不可用:第一人称手部物品加速。经完整链路分析,注入点处 frustum 矩阵与手部投影矩阵理论上应相互抵消,但实际渲染仍存在透视拉伸,已回退至原版渲染路径,待后续运行时调试。

Mod 兼容

已适配 Iris Shaders 1.8.8(含专属计算着色器与扩展顶点格式支持)、ModernUI 3.12.0.3(文字、字形、轮廓的批处理渲染)、Sodium 0.6.13(编译时兼容)。以下 Mod 兼容代码已编写,因版本变动尚未全面验证:ImmediatelyFast、Create、EMF(Entity Model Features)、GeckoLib 4.8、Touhou Little Maid、FTB Library、Trinkets、Tweakmore、Sophisticated Core。

配置

通过 ModMenu 打开游戏内配置界面,可独立开关各渲染类型的加速、切换加速/原版管线、调整 Mesh 收集与缓存策略、编辑滤镜黑白名单、以及控制各兼容 Mod 功能的启停。

已知问题

手部物品加速因矩阵拉伸暂不可用。Tweakeroo Free Camera(灵魂出窍)快捷键切换瞬间,GUI 批处理中可能出现 renderType 为空的偶发 NPE,因无法稳定复现暂未修复。

本模组系从 Argon4W 的 NeoForge 原版经由 ZhuRuoLing 的 Fabric 1.21.1 移植和 Luna5ama 的 NeoForge 1.21.4 移植迭代而来,Fabric 1.21.4 适配由 namelessgod2008 完成(AI 辅助)。MIT 协议开源。

注意:本版本为社区移植,如有问题请向移植者(namelessgod2008)反馈,请勿向原作者 Argon4W 汇报。

 

The AcceleratedRendering-Ported Team

profile avatar
  • 2
    Projects
  • 33
    Downloads

More from namelessgod2008

  • CarpetTNGAddtion project image

    CarpetTNGAddtion

    Carpet addon for Minecraft 1.21.4,add features about dispenser planting, trial cooldown, ominous potion. All rules default off, /carpet toggles.

    • 7
    • August 1, 2026
  • CarpetTNGAddtion project image

    CarpetTNGAddtion

    Carpet addon for Minecraft 1.21.4,add features about dispenser planting, trial cooldown, ominous potion. All rules default off, /carpet toggles.

    • 7
    • August 1, 2026