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
2
Question by Cody-Rauh · Oct 12, 2013 at 03:20 AM · meshmaterialmodeladdingsecond

How do I add a second material to my mesh?

I have attempted to import this as a .dae, an .obj, and then through .blend as recommended by Unity blender import page. All have failed.

I am unable to add materials I have set up to the model in place of the defaults given during import. This error only occurs for the first material field but not the second.

I am able to apply a texture to the first fields material, but I wish to use the materials I set up so objects in the scene which use the same material can all use stone floor verses material 01, material 03, material 04 for every new mesh or prefab.

I have searched for the answer to this, and I am not making progress, please help.

mesh help2.jpg (428.6 kB)
Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
6

Answer by MarkD · Oct 12, 2013 at 09:37 AM

If you click on your mesh in-game you should see a Mesh Renderer component on your object. In there you have materials and if you look close you see the amount of materials on the object, which is by standard 1, if you put it on 2 you can drag another material on-top of your current one and with alpha channels you'l be able to merge them, they are drawn over each other from top to bottom.

Comment
Add comment · Show 4 · 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
avatar image Cody-Rauh · Oct 12, 2013 at 04:11 PM 0
Share

So it was set to 2, what happened is I didn't see the $$anonymous$$aterials > tab cause it wasn't in bold, and the window was collapsed. Thank you so much, for guiding me to the solution!

avatar image CrandellWS Cody-Rauh · Mar 03, 2017 at 07:37 AM 0
Share

yea kinda buried in the options...

avatar image ChristmasEve · Mar 09, 2018 at 11:52 PM 0
Share

I know this is two and a half years old but I can't seem to get an answer from anyone on my own thread. $$anonymous$$aybe one of you guys know. I can see how Unity with re-draw meshes over old ones, as you say, so that you can add more materials (like to add an outline, for instance). The problem is, I have some meshes that have two materials (one for body and one for hair). The way it's set up is material 0 is for the hair, 1 is for the body. If I add an index 2, it's applied to the hair so I can add an outline to the person's hair. If I had a material 3, however, it's also applied to the hair. I can't add additional materials for the submesh that's using material 1. This is killing me. I don't want to have to mess with all the various shaders I have throughout the game so that a SINGLE set of materials will work and outlines can be turned off and on. I don't know enough about shaders. I would REALLY like to just add new materials for the outline ins$$anonymous$$d. I can do this if an object as just one material. Any ideas for applying another material to the second index in a two-material mesh?

avatar image mitmenschen · Apr 03, 2019 at 10:16 AM 0
Share

@ChristmasEve i would love to know that as well! Did you find a solution? ,@ChristmasEve i would love to know that as well! Did you find a solution?

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

19 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Splitting Procedurally Generated Mesh, Based On Height 0 Answers

Blender mesh not showing Unity Materials 2 Answers

How to use multiple Unity materials on external meshes 0 Answers

How do i add a texture material to my imported object? 1 Answer

Importing Blender mesh to Unity 2 Answers


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