- Home /
How do I add multiple textures to 1 material
I have a wood log texture and material. But when Ever I put the material on my tree its the same texture on every face. My Tree is made up of cylinders so how do get the middle face to have the bark texture and the top and bottom the wood bit?
also the texture never comes up its always just the background colour that appears in the texture like in the picture
In this particucar case organize your mesh into the submeshes inside a 3d modelling app and apply materials array ins$$anonymous$$d of just one material. One submesh per texture. In a general case use decal shader for two textures or derive your own shaders from the decal to add as mamy textures as you want
This looks like an issue with importing a model from your modelling program. Check : http://docs.unity3d.com/Documentation/$$anonymous$$anual/HOWTO-importObject.html
Answer by Pix10 · Jan 06, 2013 at 11:47 AM
First you need to be sure all of the elements (Cone, Cone_001, Cone_002) etc have an appropriate material attached to them (click on them each in the Heirarchy view), and that they have UVs (without UVs the renderer has nothing to draw textures on).
In the long run, you'd be better off anyway if the whole tree used the same material and texture: cleaner to work with but also you'll benefit from 1 draw call instead of 2. For this, the best advice would be to read up on UV mapping for your modelling application.
Your answer
![](https://koobas.hobune.stream/wayback/20220613090504im_/https://answers.unity.com/themes/thub/images/avi.jpg)