Vulcade
适用于 Minecraft 26.2 Vulkan 渲染器的可加载光影包。
Minecraft 26.2 用图形后端抽象层取代了运行长达 17 年的 OpenGL 管线,并随附了一个实验性的 Vulkan 渲染器。问题在于:现有的光影模组并不支持它。Iris 仅支持 OpenGL,因此将图形 API 切换为 Vulkan 目前意味着完全放弃光影效果。
Vulcade 填补了这一空白。它通过 Minecraft 自身的后处理特效系统来运行光影包,这意味着活跃的后端会自行编译这些光影——在 Vulkan 下,你的 GLSL 代码会经过 Mojang 的 GLSL 到 SPIR-V 转换路径,并在 Vulkan 命令编码器上执行。Vulcade 不发出任何自己的图形调用,因此相同的代码可以在 Vulkan 和 OpenGL 上无差别地工作,无需针对特定后端的路径。
功能特性
- 电影级色彩分级 — ACES 色调映射、对比度调整、暖色高光搭配冷色阴影、饱和度增强
- 泛光(Bloom) — 软阈值亮部通道配合多阶段可分离模糊
- 太阳耀斑 — 一个跟随屏幕上太阳位置的暖色光环
- 体积光柱 — 丁达尔效应(上帝之光),既适用于太阳,也适用于任何明亮的光源开口,如洞穴入口
- 矿石发光 — 在黑暗洞穴中,矿石、火把和岩浆被视为自发光物体
- 分场景外观 — 为水下(带有折射抖动)、下界和末地分别设置独立的光影链
- 四种质量配置文件 — 低/中/高/超高 改变的是实际渲染通道数量,而不仅仅是数值参数,因此“低”模式确实更节省性能
- 游戏内屏幕 — 按 K 选择光影包和质量等级,按 J 切换显示
- 完全可调 — 所有分级参数均存储在纯 JSON 文件中。编辑后按 F3+T 即可生效,无需修改 GLSL
要求
- Minecraft 26.2
- Fabric Loader 0.19.3+ 及 Fabric API
- Java 25(自 26.1 起官方启动器已内置)
- 对于 Vulkan 路径:视频设置 → 图形 API → 优先使用 Vulkan。需要支持动态渲染和推送描述符的 Vulkan 1.2;在 macOS 上通过 MoltenVK 运行。OpenGL 同样可用。
这不是什么
直白说明,以便你清楚自己安装的内容:
- 不是 Iris 或 OptiFine 光影包加载器。 不会加载 OptiFine 格式的光影包(
gbuffers_*, composite*, shadow*)。这些格式假设能控制 Minecraft 的地形和阴影着色器,并且存在一套统一的契约,而这在 Vulkan 后端并不存在。
- 没有阴影贴图、水面反射、波浪或体积云。 这些并非接近完成的功能——它们超出了后处理所能实现的范畴。阴影需要从太阳视角在世界渲染期间渲染深度贴图;水面反射需要水面的法线信息;体积云属于几何体。后处理通道只能接收最终生成的 2D 颜色缓冲区。
- 矿石发光并非逐块自发光照明。 后处理通道无法获知某个像素来自哪个方块。它是基于亮度和饱和度进行键控的,因此矿石、火把和岩浆会发光——黑暗房间中一块明亮且饱和的非矿石方块也会发光。
如果你想要完整的照明模型光影,请使用 Iris,但需运行在 OpenGL 上。Vulcade 是为那些既希望使用 Vulkan 后端又希望游戏画面美观的玩家准备的。
编写你自己的光影包
一个光影包是一个位于 shaderpacks/ 目录下的文件夹或 .zip 文件,包含 vulcade.json 清单文件、post_effect 链 JSON 文件,以及按照资源包结构排列的 shaders/post/*.fsh 文件。链条使用原版自带的后处理特效格式,因此如果你写过原版的后处理着色器,你就已经知道如何操作了。每个通道都会自动获得 SamplerInfo(OutSize/InSize)和原版的 Globals 块(GameTime, ScreenSize, 相机位置)。
附带 tools/validate_pack.py 工具,可在不启动游戏的情况下检查光影包——因为 Minecraft 仅在首次运行时编译光影链,否则损坏的下界光影链在你进入下界之前将保持静默。
致谢
由 Chris Do 制作。采用 MIT 许可证。
bundled pack 的外观灵感来源于 Complementary Shaders;未使用也未包含其中的任何代码。
Vulcade
Loadable shader packs that work on Minecraft 26.2's Vulkan renderer.
Minecraft 26.2 replaced the 17-year-old OpenGL pipeline with a graphics backend abstraction and
shipped an experimental Vulkan renderer alongside it. The catch: existing shader mods don't support
it. Iris is OpenGL-only, so switching Graphics API to Vulkan currently means giving up shaders
entirely.
Vulcade fills that gap. It runs shader packs through Minecraft's own post-effect system, which means
the active backend compiles the shaders itself — under Vulkan your pack's GLSL goes through
Mojang's GLSL-to-SPIR-V path and executes on the Vulkan command encoder. Vulcade issues no graphics
calls of its own, so the same code works on Vulkan and OpenGL with no backend-specific paths.
Features
- Filmic colour grading — ACES tonemap, contrast, warm highlights against cool shadows, vibrance
- Bloom — soft-knee bright pass with a multi-stage separable blur
- Sun glare — a warm halo that tracks the sun on screen
- Volumetric light shafts — god rays that work for the sun and for any bright aperture, like a
cave opening
- Ore glow — ores, torches and lava read as self-illuminated in dark caves
- Per-scene looks — separate chains for underwater (with refraction wobble), the Nether, and the End
- Four quality profiles — Low / Medium / High / Ultra change the actual pass count, not just
numbers, so Low is genuinely cheaper
- In-game screen — K to pick a pack and quality, J to toggle
- Fully tunable — every grade value lives in plain JSON. Edit, press F3+T, no GLSL required
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.3+ and Fabric API
- Java 25 (bundled with the official launcher from 26.1 onward)
- For the Vulkan path: Video Settings → Graphics API → Prefer Vulkan. Requires Vulkan 1.2 with
dynamic rendering and push descriptors; on macOS this runs through MoltenVK. OpenGL also works.
What this is not
Stated plainly, so you know what you're installing:
- Not an Iris or OptiFine shader pack loader. OptiFine-format packs (
gbuffers_*, composite*,
shadow*) will not load. Those formats assume control of Minecraft's terrain and shadow shaders,
and a uniform contract that doesn't exist on the Vulkan backend.
- No shadow maps, water reflections, waves or volumetric clouds. These aren't features that are
nearly finished — they're outside what post-processing can do. Shadows need a depth map rendered
from the sun's viewpoint during world rendering; water reflections need the water surface's normals;
volumetric clouds are geometry. A post pass only ever receives the finished 2D colour buffer.
- Ore glow is not per-block emissive lighting. A post pass never learns which block a pixel came
from. It keys on brightness and saturation, so ores, torches and lava glow — and so will a bright
saturated non-ore block in a dark room.
If you want full lighting-model shaders, you want Iris, on OpenGL. Vulcade is for people who want the
Vulkan backend and a good-looking game.
Writing your own pack
A pack is a folder or .zip in shaderpacks/ containing a vulcade.json manifest, post_effect
chain JSON, and shaders/post/*.fsh laid out like a resource pack. Chains use vanilla's own
post-effect format, so if you've written a vanilla post shader, you already know it. Every pass gets
SamplerInfo (OutSize/InSize) and vanilla's Globals block (GameTime, ScreenSize, camera
position) for free.
Ships with tools/validate_pack.py, which checks a pack without launching the game — Minecraft only
compiles a chain the first time it runs, so a broken Nether chain otherwise stays silent until you
stand in the Nether.
Credits
By Chris Do. MIT licensed.
The bundled pack's look is inspired by Complementary Shaders; no code from it is used or included.
评论 0
登录后参与评分
还没有评论,来抢沙发吧