
Nebula FX
Nebula 是一款粒子模组,由高性能 GPU 实例化渲染引擎和优化后的 NBL 流式传输技术驱动,可实现流畅的大规模动画效果。
核心特性:
高性能渲染
- GPU 驱动: 基于 OpenGL 4.4+ 计算着色器和 SSBO 技术构建。
- 零分配: 逻辑上确保运行时不进行对象分配,彻底消除 GC(垃圾回收)压力。
- PMB(持久映射缓冲区): 利用持久映射缓冲区技术,实现 CPU 到 GPU 的零拷贝数据传输。
- OIT(与顺序无关的透明度): 支持加权混合 OIT,完美解决粒子重叠时的排序问题。
先进的架构设计
- 多线程流式传输:
NblStreamer在后台线程中执行 Zstd 解压和状态计算,确保主渲染线程不会被阻塞。 - 资源引用计数: 智能
TextureCacheSystem管理显存资源,支持多实例复用和自动垃圾回收。 - 不可变快照: 使用
TextureAtlasMap保证多线程环境下的绝对线程安全。
兼容性
- 与 Iris Shaders 无缝兼容。
- 支持 ReplayMod 录制和渲染。
.nbl 文件格式
Nebula 使用自定义的 .nbl 二进制格式,专为流式传输而设计:
- Zstd 压缩: 高压缩率结合超快解压速度。
- SoA 布局: 数据在内存中以 数组结构 (Structure of Arrays) 组织,以最大化 CPU 缓存命中率。
- I/P 帧结构: 类似于视频编码;利用关键帧(I 帧)和预测帧(P 帧)大幅减小文件大小。
有关 nbl 格式的更多信息,请点击 此处。
此外,你可以使用 Blender 插件 将 Blender 动画导出为 .nbl 粒子动画。
安装与使用
前置条件
- Minecraft 1.20.1 (Fabric)
- Fabric API
- ThreatenGL
- ModMenu
- Yet Another Config Lib
- 支持 OpenGL 4.4+ 的显卡
资源路径
- 动画文件:
.minecraft/nebula/animations/*.nbl
播放动画
你可以使用以下命令来播放 NBL 动画。
/nebula play <animation_name> [origin_x] [origin_y] [origin_z]
致谢
- MadParticle 提供了灵感和参考实现。
贡献
欢迎任何形式的贡献!你可以通过以下方式参与:
- 提交 Issue:报告 bug、建议新功能或提供反馈。
- 提交 Pull Request:修复已知问题、优化代码或改进文档。
- 本地化:帮助我们将该模组翻译成更多语言。
请在提交 PR 之前确保你的代码符合项目的编码风格。
许可证
本项目根据 GPL-v3 许可证 授权。
由 Atemukesu 用 ❤️ 制作

Nebula FX
Nebula is a particle mod powered by a high-performance GPU-instanced rendering engine and optimized NBL streaming for fluid, large-scale animations.
Core Features:
High-Performance Rendering
- GPU Driven: Built on OpenGL 4.4+ Compute Shaders and SSBO technology.
- Zero-Allocation: Logically ensures no object allocation during runtime, completely eliminating GC pressure.
- PMB (Persistent Mapped Buffer): Utilizes persistent mapped buffer technology to achieve zero-copy data transfer from CPU to GPU.
- OIT (Order Independent Transparency): Supports weighted-blended OIT to perfectly resolve sorting issues during particle overlapping.
Advanced Architectural Design
- Multi-threaded Streaming:
NblStreamerperforms Zstd decompression and state calculation in a background thread, ensuring the main rendering thread is never blocked. - Resource Reference Counting: Intelligent
TextureCacheSystemmanages VRAM resources, supporting multi-instance reuse and automatic garbage collection. - Immutable Snapshots: Uses
TextureAtlasMapto guarantee absolute thread safety in multi-threaded environments.
Compatibility
- Seamlessly compatible with Iris Shaders.
- Supports ReplayMod recording and rendering.
.nbl File Format
Nebula uses a custom .nbl binary format specifically engineered for streaming:
- Zstd Compression: High compression ratios coupled with ultra-fast decompression speeds.
- SoA Layout: Data is organized in memory using a Structure of Arrays layout to maximize CPU cache hit rates.
- I/P Frame Structure: Similar to video encoding; utilizes Keyframes (I-Frames) and Predicted Frames (P-Frames) to drastically reduce file size.
For more information about the nbl format, please click here.
Also, you can use the Blender Addon to export a Blender animation as a .nbl particle animation.
Installation & Usage
Prerequisites
- Minecraft 1.20.1 (Fabric)
- Fabric API
- ThreatenGL
- ModMenu
- Yet Another Config Lib
- GPU with OpenGL 4.4+ support
Resource Paths
- Animation Files:
.minecraft/nebula/animations/*.nbl
Play Animations
You can use this command to play NBL Animations.
/nebula play <animation_name> [origin_x] [origin_y] [origin_z]
Thanks
- MadParticle for the inspiration and reference implementation.
Contributing
Contributions of any kind are welcome! You can participate by:
- Submitting Issues: Report bugs, suggest new features, or provide feedback.
- Submitting Pull Requests: Fix known issues, optimize code, or improve documentation.
- Localization: Help us translate the mod into more languages.
Please ensure your code follows the project's coding style before submitting a PR.
License
This project is licensed under the GPL-v3 License.
Made by Atemukesu with ❤️
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
下载 NebulaFX
Nebula v1.0.8
发布信息
- 发布日期: 2026-07-04 11:54:13
- Git 提交: 5f11e10
- 上一版本: v1.0.8
详细提交记录
自上一版本 v1.0.8 以来的变更
- build(build_and_release.py): 补全 gh 命令的仓库参数 (5f11e10)
- build(scripts): 优化发布文件收集逻辑并新增目录清理 (a5f9299)
合并的 Pull Requests
- #5 Add shader-compatible vanilla particle pipeline (by @enzhi-z)
兼容性说明
Minecraft 1.20.1 版本
支持范围: Minecraft 1.20 ~ 1.20.1
必需依赖:
- Fabric Loader >=0.17
- Fabric API >=0.92.2+1.20.1
- Java >=21
- Mod Menu >=7.2.2
- YACL >=3.5.0+1.20.1-fabric
- ThreatenGL >=2.0.4 (光影和渲染支持)
可选依赖:
- Iris >=1.6.17+1.20.1 (备用光影支持)
- ReplayMod >=1.20.1-2.6.23 (录像支持)
Minecraft 1.21.1 版本
支持范围: Minecraft 1.21 ~ 1.21.1
必需依赖:
- Fabric Loader >=0.17
- Fabric API >=0.110.0+1.21.1
- Java >=21
- Mod Menu >=11.0.3
- YACL >=3.8.1+1.21.1-fabric
- ThreatenGL >=2.0.4 (光影和渲染支持)
可选依赖:
- Iris >=1.8.8+1.21.1-fabric (备用光影支持)
- ReplayMod >=1.21-2.6.23 (录像支持)
技术规格
- 渲染引擎: GPU-instanced 高性能渲染
- 粒子格式: NBL 流式压缩传输
- OpenGL 要求: 4.4+
- 着色器支持: Compute Shader, SSBO
- OIT 支持: 顺序独立透明度渲染
文件清单
本次发布包含以下文件:
nebula-1.0.8+1.20.1.jar(11.27M)- MD5:
3a718384c148c239d5d33f5d4a68dc81 - SHA256:
18a7b25f5ed873f4e35d06857887533241c515709da11b22a0ace1ea01170945
- MD5:
nebula-1.0.8+1.21.1.jar(11.28M)- MD5:
f3cc1b99aa52406389b61db6bb84de6b - SHA256:
5f3f9eb5bd7835ee459bc497ad306f36bee74a1a239938cd1fc8e7497fd62a69
- MD5:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧