Iris Player Depth Fix
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.
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
Opaque player depth
Player models are written to the opaque depth buffer, so shader effects stop drawing over the body.
Cutout avatar rendering
The avatar render type is forced to cutout, which gives outer skin layers hard, alpha-tested edges.
Depth copy before deferred shading
The opaque depth buffer is copied before deferred draws run, so the shader pipeline reads correct player depth.
Distant Horizons water fix
Transparent Distant Horizons water no longer draws over the player when the depth correction is active.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does Iris Player Depth Fix need Iris Shaders?
Does the mod have to be installed on the server?
Which loaders does the mod support?
Will the fix remain necessary?
More from ThrowNewError
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.
Official listing
- Modrinth page
- modrinth.com/mod/iris-player-depth-fix
- Owner
- ThrowNewError
- Published
- 2026-08-06
- Updated on Modrinth
- 2026-08-06
- Facts verified
- 2026-10-15