• 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 AndrewIanBurrow · Jan 10, 2019 at 11:11 AM · colortexturesmeshesartifactstearing

Color mismatch between meshes

I have created a simple Animal Crossing style character in Blender and exported to Unity as FBX format. The character is made up of 3 meshes, the main body and head, the eyes and the mouth. They have each been uv unwrapped and mapped to a texture.

All this imports fine into Unity but I am getting a couple of issues.

  1. I am seeing a slight tearing between the mouth and nose meshes when viewed from a distance. alt text When zoomed in in Scene view this disappears but in game view it is visible.

  2. I am seeing a color mismatch between joining parts of the different meshes. alt text These meshes are perfectly lined up. Verts are at the exact same coordinates. All materials in Unity are set up exactly the same (Standard, opaque with correct color). Normals for the model are imported but I get the same effect when set as calculated. The colors on the textures are correct and perfectly match and have been checked in Paint.net.

Am I messing something? Any help greatly appreciated.

Thanks in advance.

Comment
Add comment · Show 1
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 Klarzahs · Jan 10, 2019 at 11:35 AM 0
Share

Did you try the unlit shader? It might be shadows from the ear that cause the color mismatch

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by AndrewIanBurrow · Jan 10, 2019 at 11:46 AM

Hi Klarzahs, thanks for the reply.

I have tried the unlit shader and yes the color does all blend correctly. alt text

I have tried switching casting shadows off and receiving shadows off with the standard shader too and the lines between the colors remain. Also the change in color shade follows the exact line of the different meshes for the eyes, mouth and head/body. alt text

The fact that it matches using an unlit shader would suggest my model and textures are ok but there is something odd going on with the standard shader and real time lighting, which is the setup I am wanting to use. Weird.


unlit.jpg (17.4 kB)
meshes.jpg (22.2 kB)
Comment
Add comment · Show 8 · 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 Klarzahs · Jan 10, 2019 at 12:35 PM 0
Share

That is weird. I dont know how to fix it, sorry. Id probably merge all into one object or divide the objects along the color edges. It might be fixable if you increase the shadow quality (Edit->Project Settings -> Quality -> Shadows)

avatar image AndrewIanBurrow Klarzahs · Jan 10, 2019 at 12:52 PM 0
Share

Yeah it's an odd one. I have tried adjusting the shadow quality etc... but made no difference. Tried switching shadows off completely from the one direction real time light I have and guess what, no difference! Argghhhh.

In the mean time I have combines the 3 meshes into one and generated a new uv with a new baked texture and it displays perfectly in unity. Only thing can I can think of is to do with vertex lighting on the materials. As some of the head vertices don't join on to the eyes or mouth meshes it must be affecting the way the light renders the texture. Or something along those lines.

I have built my model based on some of the models from Animal Crossing which seem to have separate eyes and mouths etc... so it must be a standard way of piecing together models. I am guessing it's either a shader problem or something I am missing or not doing right.

Thanks again for your help and comments though.

avatar image saschandroid AndrewIanBurrow · Jan 10, 2019 at 02:05 PM 0
Share

I guess it has something to do with the normals. Blender and Unity can't calculate the smoothed normals between the triangles of different meshes.

Show more comments

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

101 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 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 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 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

Swapping Textures vs Swapping Meshes 1 Answer

Changing a materials color in C# 2 Answers

How to get rid of green orbs appearing every now and then? 0 Answers

Applying textures to multiple meshes 0 Answers

Remove Distortion on custom UV mesh 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