umasteeringgroup / UMA

Unity Multipurpose Avatar
MIT License
737 stars 169 forks source link

Feature non-shader textures #293

Closed kenamis closed 4 years ago

kenamis commented 4 years ago

This feature allows a user to mark a texture channel on an UMA Material to not get applied to the final shader. This way the textures are still merged and generated and can still be used for other purposes, e.g. a texture lookup system image

Then you can retrieve the texture in UMAData.GeneratedMaterials with; public List<Texture> GetTexture(UMAMaterial umaMaterial, int textureChannel)