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.
4 Replies
Iris doesn't do emissive textures
unless you mean emissives on your mobs?
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...
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...
Yeah, it's a weird one.