Hidoni / CustomizableElytra

Adds a variety of colorful ways to customize your elytra!
MIT License
3 stars 5 forks source link

Banner elytras fail to render with 3d Skin Layers and Iris #31

Open val-int1 opened 1 year ago

val-int1 commented 1 year ago

Elytras with banners seem to render the base and all patterns as white, making the banner appear as a white empty one. This however only happens when both 3d Skin Layers and Iris are loaded, and the banner renders fine if either mod is absent. I'm not expecting this to be a very important issue though as removing either mod fixes it.

Game version and mod list:

* Note that Sodium and Indium were always present in my testing, even when Iris was not.

How the elytra looks like with either mod installed (but not both) image

How the elytra looks like with both mods installed image

Hidoni commented 1 year ago

I'm not the most well versed with rendering, but from what I've gathered, it seems like the issue stems from the way Iris optimizes rendering. Rendering the banner patterns on the elytra relies on several layers (enchantment glint, base pattern and then banner patterns) being rendered in an exact order, and it looks like Iris messes with that.
This only shows up once 3d skin layers is installed because that mod adds in more things that are rendered on the player model, which I presume is what triggers these optimizations in Iris.
I managed to find a workaround for it by simply making the elytra layer be the last one rendered, no matter what, but that feels like a hacky (and probably not perfect) fix for an issue that could potentially be fixed on Iris' end, so for now I would prefer to keep this issue open and suggest that you open an issue on their repo and see if it's possible for it to be fixed there ^^

CleverBalloon commented 6 months ago

I'm having the same issue, the banner renders on my player model in my inventory but doesn't actually render in the world.

Smockinssnim commented 1 month ago

Hello is there a way to fix this im having the same problem. The game will show me vanilla elytras but in the 3d skin llayer menu they will be displayed as customized with the banner/trim i used on them.