PBR textures breaking when using my TextureManager Mixin.

When my mod AzureLib is installed with Iris, and an emissive texture pack is loaded, the emissive textures no longer work. Seems that disabling my mixin here: https://github.com/AzureDoom/AzureLib/blob/1.21-dev/common/src/main/java/mod/azure/azurelib/common/internal/mixins/TextureManagerMixin.java causes it to work again, but then the animated textures I add support for no longer work. I assume this is due to how the mixin handles registering my AnimatableTexture. Would love some feedback on how best to get this all working together.
No description
4 Replies
IMS
IMS5mo ago
Iris doesn't do emissive textures unless you mean emissives on your mobs?
AzureDoom
AzureDoomOP5mo ago
I assumed Iris was handling the emissive textures; my bad. It's on vanilla mobs, https://github.com/AzureDoom/AzureLib/issues/57#issuecomment-2192228115 as per this comment here, without the mod it's doing the shiny textures and glowing eyes but once Azurelib is installed with that mixin active, they don't work anymore.
GitHub
Shaders with advanced materials (reflection, emissive) not working ...
This is the same issue with Geckolib, but posting here in case it hasnt been seen or mentioned yet. bernie-g/geckolib#546 removing "client.TextureManagerMixin" from the mixin.json file fi...
IMS
IMS5mo ago
so it's PBR that's broken PBR textures are attached to the ID of the texture that originally registered it well actually the bug is more clear SimpleTexture and TextureAtlas are the only two variants of AbstractTexture that can hold PBR but you're extending SimpleTexture...
AzureDoom
AzureDoomOP5mo ago
Yeah, it's a weird one.
Want results from more Discord servers?
Add your server