Iris Transparent Skin Fix
Fixes parts of your skin turning see-through depending on where you look from, when your skin's outer layer
(hat, jacket, sleeves, pants) has semi-transparent pixels: glasses, visors, glass or ghost effects...
The bug comes from vanilla Minecraft, but it is much more visible with Iris shaders: whole parts of the body
(head, arms, torso) can disappear and show the sky behind them, in third person and in first person.
What it fixes
Player model (yourself in third person, and other players): the inner layer of the skin no longer
disappears behind the semi-transparent outer layer.
First-person arm of Punchy: same fix for Punchy's
arm and sleeve. Only applies if Punchy is installed.
Your skin looks exactly as intended: opaque pixels stay opaque, semi-transparent pixels stay semi-transparent.
Skins without semi-transparent pixels look exactly the same as before.
How it works
Minecraft draws both skin layers in a single translucent pass. Depending on the camera angle, a face of the outer
layer can be drawn before the inner face it covers, and the inner face is then hidden. This mod draws the inner
layer first, as opaque (like any other mob), then the outer layer on its own, as translucent as before.
Same number of vertices as vanilla, no extra allocation: no measurable FPS cost.
Works with or without shaders (Iris is not required).
Requirements
Minecraft 1.21.1, NeoForge
Client-side only: not needed on servers, and you can join any server with or without it.
No dependencies.
License
MIT: you are free to include this mod in your modpacks.