private static void SetClothingTextures(Material clothingMaterial, ClothingTextures clothingTexture) { // Base Color clothingMaterial.SetTexture(BASE_COLOR, clothingTexture.baseColor); // Normal Map clothingMaterial.SetTexture(NORMAL_MAP, clothingTexture.normal); // Roughness Metallic AO clothingMaterial.SetTexture(RMA_MAP, clothingTexture.rma); }
public ClothingData(Mesh m, Texture2D bc, Texture2D nm, Texture2D rma, bool isShoes = false) { this.mesh = m; this.textures = new ClothingTextures(bc, nm, rma); this.isShoes = isShoes; }