Raffman's Vitrail Extras
Your shader pack, all the way to the horizon – on Minecraft's new Vulkan renderer.
Raffman's Vitrail Extras is a small client-side add-on for Vitrail Shaders, the mod that runs Iris/OptiFine shader packs on Minecraft 26.3's Vulkan backend. It fills the gaps you notice the moment you pair Vitrail with Distant Horizons and a current Sodium build.
Requires Vitrail Shaders. This add-on does nothing on its own.
✨ Features
☁️ Distant Horizons clouds & beacons, lit by your shader pack
Until now, Distant Horizons drew its far-away clouds and beacon beams with its own plain shader – grey, flat, and lit differently from the shaded landscape right underneath them.
With Extras, they go through your pack's dh_generic program (or dh_terrain if the pack has none), exactly like Iris does on OpenGL:
- Same lighting, colour grading and fog as the pack's far terrain
- Written into
dhDepthTex, so the pack's post effects see them - Respects Distant Horizons' own "generic rendering" switch and its cancel event
- Toggle it live – no shader reload needed
🧩 Vitrail works with Sodium 0.9.3 and 0.9.4
Vitrail 0.13 was built against Sodium 0.9.2 and crashes on world join with newer Sodium builds. Extras adapts Sodium's chunk renderer at load time so Vitrail's hooks fit again – no extra library, no crash – and corrects the camera offset newer Sodium versions no longer push, so terrain doesn't shift or jitter under a pack.
🩺 Compatibility check
When you join a world, Extras tells you in chat if something won't work:
- the game is running on OpenGL instead of Vulkan (Vitrail only works on Vulkan)
- an untested Vitrail, Sodium or Distant Horizons version
- a feature switched itself off because something didn't match
⚙️ Every feature can be turned off
All three features have their own switch in config/raffmansvitrail-client.toml and in NeoForge's mod config screen.
🛡️ Built to fail safe
Extras hooks into Vitrail's internals, which can change with every Vitrail beta. Before anything is applied, Extras checks every hook target in the installed Vitrail. If an update moved something, the affected feature switches itself off for the session, tells you in chat, and Distant Horizons draws its clouds itself again. No crash, no black screen – and the game never refuses to start just because Vitrail updated.
If a future Vitrail ships these features itself, Extras notices and steps back so nothing runs twice.
📦 Requirements
| Version | |
|---|---|
| Minecraft | 26.3 |
| NeoForge | 26.3.x |
| Vitrail Shaders | 0.13.0-beta or newer (required) |
| Sodium | 0.9.2 – 0.9.4 (required by Vitrail) |
| Distant Horizons | 3.3.2 or newer (optional, needed for the cloud feature) |
Set Video Settings → Graphics API → Vulkan and restart the game.
Client-side only – you can join any server with it.
❓ FAQ
Do my clouds cast shadows now? No. Iris doesn't render DH clouds into the shadow map either; Extras matches that behaviour.
Does it work on Fabric? Not yet – NeoForge 26.3 only for now.
Does it work with Iris? No need – Iris already does all of this on OpenGL. Extras is for Vitrail on Vulkan.
Which shader packs?
Any pack Vitrail can run. Packs with a dh_generic program look best; others fall back to dh_terrain.
📜 License & credits
LGPL-3.0-only. Parts of this add-on are adapted from Vitrail Shaders by avpbynf (LGPL-3.0-only) – all credit for the shader translation itself goes to them. This is an unofficial add-on; please report add-on issues here, not on Vitrail's tracker. The complete source code is on GitHub: https://github.com/raffman180/RaffmansVitrailExtras (each release is tagged, e.g. v1.0.0).
Made by Raffman – also check out Raffman's Detailed Map.