Iris Veil Compat
Bridges Veil shader rendering through Iris shaderpacks so that mods using Veil's shader infrastructure such as Create Aeronautics render correctly when a shaderpack is active
介绍
Iris Veil Compat
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
- Iris 1.8.1+ (required)
- Sodium
- Veil 4.0.0+
- Tested with Create: Aeronautics (Spring, Laser) and Sable
Credit
This project uses glsl-transformer for shader AST manipulation.
常见问题
Iris Veil Compat 支持哪些 Minecraft 版本?
Iris Veil Compat 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Iris Veil Compat 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分