I have a weapon witch have many parts, it also have many materials. Do I really need to make it like that? It's like about 8 mats! :(
1 Answer
No, you don't need to use an unique material for each 3d model asset. It is possible for multiple meshes to share materials. The most blunt way to do that is to simply replace the materials of the assets in Unity after you imported them. You do that by drag&dropping a material from your Unity project view onto the assets.
But it might be better to import your models in a way that they already share materials. How to do that exactly depends on what software you are using to create your models. But usually Unity will automatically recognize if two models use the exact same material based on the names, settings and textures of the materials.
-
\$\begingroup\$ You mean I need to set my textures in Maya(for example) and export it in Unity so unity will read all neede textures? \$\endgroup\$ Commented Sep 15, 2020 at 9:15
-
\$\begingroup\$ @DeadLord I never used Maya, so I am not sure about how to do it from Maya. But in Blender it usually works if you give the materials the same names. \$\endgroup\$– PhilippCommented Sep 15, 2020 at 9:16
-
\$\begingroup\$ hm. Thank you a lot! I'll try. \$\endgroup\$ Commented Sep 15, 2020 at 9:18