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 Vardan Meliksetyan · Mar 25, 2014 at 01:29 PM · shadermeshnormals

Shader wants normal , but the mesh does not have them

How solve this problem? In my project hand1 is material on it picture, I clicked it but it show Editor !

alt text

mesh problem.jpg (51.6 kB)
Comment
Add comment · Show 7
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 Fornoreason1000 · Mar 25, 2014 at 01:37 PM 0
Share

try recalculating normal's on the Hand1 mesh. see if that helps.

avatar image Vardan Meliksetyan · Mar 25, 2014 at 01:40 PM 0
Share

I do not understand that it meen?

avatar image Fornoreason1000 · Mar 25, 2014 at 01:46 PM 0
Share

ok, find your mesh in the project window, click on it, go to the inspector window they should be a heading called normal, switch that the recalculate and click apply.

avatar image Fornoreason1000 · Mar 25, 2014 at 01:50 PM 1
Share

Hand1 is also a mesh, materials don't have normal's. meshes have normal's and that is what those messages are referring to. find a mesh called Hand1 and follow bunny83's instructions.

avatar image Fornoreason1000 · Mar 26, 2014 at 09:36 AM 1
Share

vardan please don't post answers as comments, only post answers if it solves the problem we are dealing with.(it confuses people)

Now the issue at hand, are you using a custom shader for the hand1? if so check for errors. its a little far fetched but i guess anythings possible.

hand1 might also be the name of the mesh, if not find out what models use that hand1 material. follow bunny83's instructions on models that use hand1 as a material.

Show more comments

2 Replies

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

Answer by Bunny83 · Mar 25, 2014 at 01:48 PM

The shader you're using only works with a mesh that has vertex normals. It seems your mesh doesn't have them. It it's an imported model, check the import options. There's a section for Normals and Tangents. If the model itself doesn't have normals you can Unity calculate them by setting the import setting to "calculate". The smoothing angle defines the threshold which faces are considered as one curved-surface.

If you created the mesh procedurally via code you have to call RecalculateNormals on your generated mesh. However i'm pretty sure you have an imported model.

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

Answer by Owen-Reynolds · Mar 25, 2014 at 06:40 PM

In practice, it means the model is probably no good, has a bunch of other things wrong with it, and just find a new one.

You didn't do anything wrong -- the person who made it left something out. Sure, you could fix the normals (Bunny's instructions sound fine to me.) Fix it just for practice. But normals are pretty basic. If they left those out, the fingers probably also bend wrong, etc... . And you know the model was never even tested once in Unity (or any game engine -- normals are something everything uses,) or they'd have seen it.

If it's your model, just practice modeling more. If it's someone else's, maybe the model is perfectly fine, but was made for some really odd use. Or maybe, 1% chance, it's perfectly good and either they or you just clicked one wrong thing by mistake.

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

23 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

Related Questions

What are normals? 1 Answer

How is a polygon determined to be front facing or back facing? 1 Answer

Lower-level way to find NEARBY TRIANGLES on the mesh? (Answered.) 4 Answers

colorize mesh based on dot product 1 Answer

Unity shader vertex displace doesn't work 0 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