HomeJavaModsIris Veil Compat
Iris Veil Compat
ModsJava

Iris Veil Compat

by leon-o · on Modrinth

Bridges Veil shader rendering through Iris shaderpacks so that mods using Veil's shader infrastructure such as Create Aeronautics render correctly when a…

⬇ Download on Modrinth

Iris Veil Compat
License

Iris Veil Compat

Allow mods using the Veil rendering engine (such as Create: Aeronautics) to render correctly when using Iris shaderpacks.

Principle

Veil is an advanced rendering SDK for Minecraft mods — it provides a shader infrastructure that other mods can build on. The most prominent consumer is Create: Aeronautics, which uses Veil for its airplane wings, glass panels, contrails, and other visual effects.

The problem: when you enable a shaderpack via Iris, Veil-rendered visuals bypass the shaderpack's pipeline entirely, causing them to appear broken or missing.

This mod automatically merges Veil shader code into the shaderpack's gbuffer programs at runtime, so Veil-based visuals (like Aeronautics planes) integrate seamlessly with your shaderpack.

Implementation details

This mod intercepts Veil's shader compilation via mixins, capturing and caching the processed shader source. At render time, it injects Veil shader logic into the shaderpack's gbuffer vertex/fragment programs using AST-level patching (powered by glsl-transformer), and creates an Iris ShaderInstance to replace the original Veil shader.

The cache is automatically invalidated when you switch or reload shaderpacks — no restart needed.

Compatibility

Credit

This project uses glsl-transformer for shader AST manipulation.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more