Same multiple model but with different materials/textures
Hello,
If this question has ever been answered before I do apologize. I can't find the right keyword the question.
I have a shirt model which I want to put copies of it in the editor but with different variant of materials/textures. I made copies of them in the editor but when I changed the material of 1 model the others also changed. Do I have to import copies of the model for every different material/texture I want to use to achieve this or is there another way?
Thanks in advance.
You need one model, but multiple materials. For each meshrenderer, you will be able to apply the material(s) you want.
Hi @Hellium thanks for the reply.
But not quite the answer I was looking for. $$anonymous$$y question is quite simple but I just can't explain it correctly, my bad.
These 2 models are the same asset. I want one to have a different texture without making the other one also change. Because they seem to share the same data. If I change one, the other one also changes. Is it possible to make the other model have a different texture? Or do I have to import another same model. Cheers
Answer by Hellium · Jan 17, 2018 at 11:46 AM
Duplicate the
shirt
gameobject in your scene, call themshirt1
andshirt2
Create two materials :
redFabric
andblueFabric
Change the two materials to fit your needs (make the first one red, and the other blue)
Select
shirt1
, find theMeshRenderer
and drag & drop theredFabric
material into theMaterials
fieldSelect
shirt2
, find theMeshRenderer
and drag & drop theblueFabric
material into theMaterials
field