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 Xeong-Hu · Nov 13, 2014 at 05:02 PM · materials

Is there a way i can Z order my Material's textures?

Here's what I'm trying to do.

I have this character with a skin material and texture which I can change, just by chaging the material.

But then I also have a face texture on my characters head.

I want to be able to change my characters facial expressions just by changing the texture but I cant seem to find out how to give my character a face with out using a different material. And if I do give the character a different material, since my Face is transparent it'll show the UV Mapped area of my face as transparent and ignore my skin material, which makes my face look like a ghost.

Help would be much appreciated.

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 fafase · Nov 13, 2014 at 05:36 PM 0
Share

Would that help?

http://docs.unity3d.com/ScriptReference/$$anonymous$$aterial.SetTexture.html

avatar image Xeong-Hu · Nov 14, 2014 at 05:06 AM 0
Share

Sorry for the late reply.

But I'm not sure if I'm entirely explaining it right so here's my example. alt text

$$anonymous$$y face is a totally different material as a Sprite $$anonymous$$aterial which makes everything I that area transparent but it does show my skin. So I s making 2 different materials the right way to go with this?

Or do I need to to use a shader script for my skin material to allow my texture stick over my skin material. $$anonymous$$ind of like a Tattoo. I'm really comfused.

problem ew.png (284.2 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Xeong-Hu · Nov 14, 2014 at 06:32 AM

Oh. I'm so Sorry! I should've done more research. I searched up some unity Answers and found out what I was really looking for. I'm sorry dude for asking. But thank you for the help.

Here's the link to what I'm trying to achieve and it worked alright.

http://answers.unity3d.com/questions/22961/multiple-textures-layered-in-a-single-mesh.html

I have a skin material and a face Material. Under the Face material is another skin Material, giving my face that UV Mapped the same material underneath my face, so no worries.

Btw this is awesome. THANK YOU UNITY!

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

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

Related Questions

I imported the Ghost Town asset package and now the models in dont have textures or meshes dont show up. 0 Answers

Problem with rendering of standard material on iOs platform. 0 Answers

Beginner : What am I doing wrong assigning materials? 1 Answer

Shader: get back scene pixel color? 1 Answer

Serialized variable vs Resources.Load() 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