Open redgouf opened 2 years ago
So I got alpha masking to work on my custom character. The problem is the shader the skater body uses in the game has a very specific texture property (_texture2D_alphacut) that the calculated masks are placed into, and it's not a property the normal HDRP Lit shader has.
To get around it I made a ShaderGraph HDRP Lit shader with a texture property with a reference of "_texture2D_alphacut", and fed it into the Lit Master alpha input, and enabled alpha clipping on the Lit Master (you also separately have to turn on alpha clipping on whatever material uses the shader). Also make sure the mask textures have Read/Write enabled in the import settings (being sure to apply the change). You also need to fill in the rest of the shader stuff (like albedo, normal, etc) in the shader graph (you can make properties like the alphacut one to be able to adjust those things in the material ui.
I did an initial test during Rebirth for using "Mask" textures within the MaterialController on the Custom Skater Body - which is essentially how EDS has their skater setup (from what we know).
These textures are ignored and Alpha Masking from clothing does not apply.