All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Iris Veil Compat

Iris Veil Compat

by leon-o • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
1d ago 1
1.21.1
Neoforge
1d ago 1
1.21.1
Neoforge
1d ago 1
  • Render Creative Physics Staff beams before Iris deferred lighting through an explicit world-effect adapter, preserving native rendering when shaders are disabled.
  • Restore ground block-entity shadows under Sodium and flush Sable's separate single-block terrain path during Iris shadow rendering.
  • Prevent Veil Iris Lights 1.4.6 from installing a second geometry shader bridge while retaining its independent light pass.
  • Preserve normal/specular texture sampling when shaderpack helpers use a sampler parameter named tex.
  • Set the minimum NeoForge requirement to 21.1.228, as required by the pinned dependency stack, independently of the development NeoForge version.
  • Replaced the mod icon and added it to the README.
  • Updated the Minecraft 1.21.1 development dependencies to NeoForge 21.1.255, Veil 4.5.1, Sodium 0.8.13, Create 6.0.11-313, Ponder 1.0.87, Create: Aeronautics 1.3.2, and Sable 2.0.6.
  • Retained the latest published 1.21.1 Iris beta, stable Flywheel 1.0.6, and Iris Flywheel Compat 2.4.0.
  • Integrated Levitite's native four-point tessellation and deformation into Iris's opaque, translucent, and shadow programs, replacing the native replay after the final pass.
  • Preserved shaderpack albedo sampling and post-processing while forwarding Aeronautics' physics, noise, and ghost effects; removed redundant native lighting and fog.
  • Passed 76 unit tests, verified actual draw and post-processing connections in a BSL 10.0 GPU capture, and exercised Nostalgia 5.1 with POM at 75% rendering scale. The VeilTeest regression fixes were also tested with Photon and Nostalgia, with final in-game acceptance confirmed by the user. Validation is limited to the tested fixtures and settings.
  • Fixed End Sea rendering issues when using Iris shaderpacks.
  • Fixed Rope and Spring shadows disappearing with some shaderpacks.
  • Improved compatibility with Photon, Complementary, BSL, and Bliss for affected Veil effects.
  • Initial release.
  • Create Aeronautics now renders correctly with Iris shaderpacks (verified with Spring and Laser).
  • Shader compatibility refreshes automatically when switching or reloading shaderpacks.
Iris Veil Compat Icon
Download Iris Veil Compat
Select game version
Select platform