Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by CubePhysics · Jan 06, 2013 at 10:41 AM · texturematerialtreefaces

How do I add multiple textures to 1 material

alt text

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

untitled.jpg (256.4 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tomekkie2 · Jan 06, 2013 at 11:13 AM 0
Share

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

avatar image AlucardJay · Jan 06, 2013 at 11:13 AM 0
Share

This looks like an issue with importing a model from your modelling program. Check : http://docs.unity3d.com/Documentation/$$anonymous$$anual/HOWTO-importObject.html

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Tree bark is always black, but I'm pretty sure I didn't do anything wrong 2 Answers

Importing custom tree into terrain editor - how do I do it? 1 Answer

Blender file in Unity not showing texture 0 Answers

Layered Textures/Materials 0 Answers

How to Make a Character Flicker? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges