ModsFinder
IP

Iris Player Depth Fix

by ThrowNewError

Iris Player Depth Fix corrects how player models are written to the depth buffer when Iris shaders are active, so the sun, moon and Distant Horizons water no longer show through the player.

FabricNeoForgeClient-side onlyMIT LicenseOpen source26.2

What it does

With Iris shaders enabled, player skins can be drawn translucent, and the sun, moon and Distant Horizons water may appear over the player's body. The mod forces the avatar render type to cutout, which makes the body write depth from its opaque geometry, and outer skin layers switch from soft blending to alpha-tested edges. Held items and capes already use opaque paths, so only the body skin is affected by the change.

The fix works by copying the opaque depth buffer before deferred shading runs, so the shader pipeline sees the player's body. The author describes it as a temporary workaround until Iris handles player opaque depth correctly on its own. Installation requires Iris Shaders, which in turn depends on Sodium and Fabric API, and the mod runs on Fabric and NeoForge for Minecraft 26.2.

The mod is client-side only, so servers do not need it and players can join without installing anything. It is released under the MIT License and is open source, with its source code published for anyone to inspect. Files were first published and last updated on 2026-08-06.

Key features

  1. Opaque player depth

    Player models are written to the opaque depth buffer, so shader effects stop drawing over the body.

  2. Cutout avatar rendering

    The avatar render type is forced to cutout, which gives outer skin layers hard, alpha-tested edges.

  3. Depth copy before deferred shading

    The opaque depth buffer is copied before deferred draws run, so the shader pipeline reads correct player depth.

  4. Distant Horizons water fix

    Transparent Distant Horizons water no longer draws over the player when the depth correction is active.

Compatibility

Latest build for each game version and loader.

26.21.0.01.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Iris ShadersA modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs
Required

Questions

Does Iris Player Depth Fix need Iris Shaders?

Yes. Iris Shaders is the required dependency, and Iris itself depends on Sodium and Fabric API, which must also be installed.

Does the mod have to be installed on the server?

No. Only the player's game needs it, and servers run without it.

Which loaders does the mod support?

Files are published for Fabric and NeoForge, both for Minecraft 26.2, as version 1.0.0.

Will the fix remain necessary?

The author calls it a temporary workaround until Iris includes correct player opaque depth, so it may be removed once that change lands.

More from ThrowNewError

All projects

What the author says

Client-only fix for Iris on Minecraft 26.2 (Fabric & NeoForge). Cape and held items already use opaque paths — only the body skin is wrong.
ThrowNewError, on the Modrinth page

Official listing

Owner
ThrowNewError
Published
2026-08-06
Updated on Modrinth
2026-08-06
Facts verified
2026-10-15