Iris
Iris copied to clipboard
Enchanted item rendering in inventory player model breaks after enabling shaders
What happened?
Enchanted item rendering in the player model in the inventory seems to break after enabling shaders and even after disabling them. Also breaks if the shaders fail to enable because they're outdated. If you hold an enchanted item in your main hand, and that same item but unenchanted in your offhand, then the model for the offhand item also breaks (though not the other way around). Also affects enchanted blocks, though they can only be obtained in creative. Resource packs are not the problem, as I tested both with and without them, though they do seem to affect the broken model a little bit.
Screenshots
Unenchanted gold sword. Renders fine.
Enchanted gold sword. Broken model.
Unenchanted mainhand, enchanted offhand.
Vice versa.
Log output
Upload to drive as it's too long for GitHub: log
Minecraft Version
Minecraft 1.21
Iris Version
iris-1.7.1+mc1.21.jar
Operating System
Windows 11
What is your GPU?
Nvidia GeForce RTX 3060 (Laptop)
Additional context
No response