Iris Veil Compat 图标

Iris Veil Compat

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.21.1+0.3.0-beta
本资源为搬运资源,原资源地址: https://modrinth.com/mod/iris-veil-compat
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

资源介绍
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

  • 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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Annuus

价格:0 墨喵币
下载量:0

查看详情
Destructive Temperatures

价格:0 墨喵币
下载量:0

查看详情
CoreCrates

价格:0 墨喵币
下载量:0

查看详情
JoJo: Winds of Requiem

价格:0 墨喵币
下载量:0

查看详情