• 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 cachen · Aug 26, 2012 at 08:44 PM · meshmodelnormalsface

Model faces arent showing up even though I reversed my normals. Anyone know what's wrong?

Originally, t$$anonymous$$s model was working, but I had to optimize my trees a bit, so when I deleted some edge loops, all of a sudden the tree branches no longer show up in unity. The trunk part shows up just fine, but the branches don't show up. I've even reversed the normals for the branches and they still won't show up. Not sure what I did. It's as if the green leaf part sticks out over the branches, but in maya, the green part is definitely be$$anonymous$$nd the branches. Can't figure out what's wrong with it! Does anyone know how to fix t$$anonymous$$s? Thanks a lot!!alt text

Comment

People who like this

0 Show 21
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 Adamcbrz · Aug 26, 2012 at 08:55 PM 0
Share

What shaders are you using?

avatar image cachen · Aug 26, 2012 at 09:01 PM 0
Share

I'm using regular diffuse shaders. The texture is just a regular old 8 bit png.

avatar image hvilela · Aug 27, 2012 at 04:34 PM 0
Share

Reverse the normals and reverse the faces are two different things. Try reverse faces.

avatar image Piflik · Aug 27, 2012 at 05:04 PM 0
Share

No, they're not. There are only one set of normals, that you can reverse in a model, and these are face normals.

This rather looks like a messed up draw order, but I have no idea where that might come from or how to fix it.

avatar image hvilela · Aug 27, 2012 at 05:34 PM 0
Share

You can flip the normals (by changing the mesh.normals) or you can flip the faces (by changing the vertices order in the mesh.triangles). Flip the normals will only affect the lighting, white flip the faces will define with side of the face is the front one).

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Piflik · Aug 27, 2012 at 08:10 PM

I opened your tree package, and the face normals of the trunk and branches are definitely facing the wrong direction. Are you sure you exported it with the right orientation from Maya?

Flip the faces in Maya and re-export. If the issue persists, upload the file again (or in fbx/obj format, then someone can have a look at the model directly.)

Comment
Bunny83

People who like this

1 Show 1 · 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 cachen · Aug 27, 2012 at 08:13 PM 0
Share

I will try to flip the face normals again. Thanks!

avatar image

Answer by ScroodgeM · Aug 27, 2012 at 10:11 PM

i'd check your tree...

  1. revert faces on whole branches

  2. revert faces on leaves at side far from branches

Comment
Bunny83

People who like this

1 Show 0 · 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

Answer by Bunny83 · Aug 28, 2012 at 02:31 AM

Like the others said your trunk and branches submesh has flipped faces and normals. The best solution is of course to fix t$$anonymous$$s in your model. However, i made an "MeshEditor" for Unity w$$anonymous$$ch allows you to flip the faces or the vertex normals for each submesh.

Note: T$$anonymous$$s editor will directly edit the asset in your project. An FBX file can't be changed inside Unity. The changes will be visible in the editor but can't be saved in the original asset. I've added an "save as new asset" button at the end, t$$anonymous$$s allows you to save the mesh as seperate asset. To use the asset you just have to replace the mesh in the MeshFilter of your prefab.

Keep in mind that you can edit FBX meshes as well and they will show the changes but they aren't saves when you restart Unity or when you reimport the asset.

Comment
ScroodgeM

People who like this

1 Show 0 · 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.

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

11 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

Related Questions

Get face normal and get its local Euler Angles? 3 Answers

Missing pieces of meshes 1 Answer

Weird problem on the normals of an imported model. please help!! 4 Answers

Mesh Collidor Faster 1 Answer

Smoothing edges of a mesh 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