• 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
Question by caso2rognac · Nov 10, 2014 at 09:00 AM · meshnormalspecularbump

normal issue

Hello,

I cannot understand where the problem comes from. I've imported this model as a FBX file generated from 3DS max and I apply A mobile/Bump Specular metarial on it. So far, the normal map has a uniform color. Waiting for your help. alt text

support unity.jpg (295.7 kB)
Comment

People who like this

0 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 caso2rognac · Nov 10, 2014 at 04:25 PM 0
Share

Thanks for your help... I've tried to have the normals calculated by unity but it doesn't change anything. I've noticed that this discontinuity is visible where I have seems in my uvw... I suspect that normal cannot be computed property when the mapping is not continuous...

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by b1gry4n · Nov 10, 2014 at 12:02 PM

In your model import settings you can try to have unity calculate the normals. If this doesnt work you need to edit the 3ds max file and check the normals. If that face has an inverted normal it is a modelling problem and you need to fix it outside of unity.

http://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/3DSMax/files/GUID-C420859B-D44E-469F-9A20-AFD731216EA1-htm.html

Comment
Bunny83

People who like this

1 Show 9 · 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 caso2rognac · Nov 10, 2014 at 05:05 PM 0
Share

Here is my UVW template. alt text

I've put a bitmap with a uniform color on the whole mesh and also another uniform color bitmap as a normal map bitmap in the material... The objective is to get a kind of reflective aspect using a mobile/Bump Specular material (I'm targetting Android platforms). I'm a beginner in 3D game development and as far as I have understood, normal map are modifying pixel normals to get the influence of light changed, so if I'm using a uniform normal map texture, it should smooth the normal the same way isn't it?

fuselage uvw unity forum.jpg (230.8 kB)
avatar image MrSoad · Nov 10, 2014 at 06:58 PM 0
Share

I think he means with the mesh itself when he talks about the normals not your normal map, they are two different things. The mesh faces each have a normal which says which direction it is in. If one of these is facing the wrong way then you can get issues. Most std Unity shaders only display a face from one side, so if the normal is the wrong way you get a gap where the face should be. Some shaders do display both sides of a face but if one is facing one way and the one next to it is facing the other it can cause seams in the smooth shading of the model.

This might not be your issue but it is always worth a check whenever something is amiss.

avatar image b1gry4n · Nov 11, 2014 at 02:02 AM 0
Share

The normal facing direction has nothing to do with UV mapping.

If your mesh normals are not facing the correct direction it will appear to have a see through gap. This is because the shader thinks we are viewing this object from the opposite angle.

A quick way to see this in action is to make a mesh and completely invert its normals. It will look like you are viewing the inside of your mesh, the closest normals to the camera being "transparent"

Follow the guide I linked to you. You most likely have to select your mesh and use the "Normal" modifier inside of 3dmax. Usually after applying the modifier it will fix itself instantly. If it doesnt you will need to select and flip the incorrect faces.

I think the misunderstanding is in terminology. In your question you state "So far, the normal map has a uniform color."

When people refer to a normal map they are referring to a map that controls the "bumpiness" or sometimes shininess of a mesh. Its sometimes called bump map.

The map you are referring to is the diffuse map. Anything to do with texture and color applied to a material. I just call it "the texture".

Your problem is with your mesh's face normals. The actual 3D object is causing this issue

I have noticed this issue pop up if I am breaking the model apart during UVmapping, mirroring the object, and sometimes during the extrude of a face. It is very simple to fix once you figure it out.

avatar image caso2rognac · Nov 11, 2014 at 09:20 AM 0
Share

I have checked the mesh normals and I could not figure out how two connected elements could have their normals pointing to opposite directions... The mesh is correct and all the normals OK. Then, I've been looking around the UV and I've noticed that I had some flipped faces due to UV... I corrected this. If I use a specular material picked from Unity standard material library, I have a result which looks much more better... alt text

But when I switch back to a mobile/Bumped Specular material, I still have this strange behavior at the tail boom transition area. So I think there should be a special technique with UV and normal map for getting a good result and I'm pretty sure the problem comes from the thing I'm missing while uwarping UVW and apply a normal map...

support unity 02.jpg (260.8 kB)
avatar image MrSoad · Nov 11, 2014 at 10:46 AM 0
Share

Can you get rid of this problem with any of the Unity import settings regarding normals and tangents(I know you said you did this but I wondered if you said it did not work because it messed up other aspects of your model), just want to double check?

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Custom Shader: Using Normal, Diffuse, Gloss, and Specular Maps 0 Answers

Normal map is not showing for some reason... 1 Answer

Drawing a cube by a new Mesh 2 Answers

Changing bump map opacity. 0 Answers

It is performance costly to make normal map animations? 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