MMDGenshin-archive
MMDGenshin-archive copied to clipboard
Transparency
Hi! I love the shader, I think it works great for Genshin official characters.
The issue I have at the moment is with transparency. Anything transparent just become black as seen on my custom model below.
While she should have looked like this
The only solutions i found was to cut the model itself, but it's not very efficient. It's nothing huge tho, so would be great to have transparency implemented :)
This is because of the way it's written. Mihoyo has flags for proper alpha usage for their diffuse textures in their own shaders. However, there hasnt been a genshin character yet that uses it so I opted to only include support for the two currently used alpha forms. Those being an emission mask and a blush mask. Thats why the shader will render proper alpha as black chunks.