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 SifuKenji · Nov 02, 2012 at 12:59 AM · lightingmodel

Why does the lighting on my model look wrong?

Hello!

The lighting I setup for my scene looks different when it passes some of the edges on my model.

Any help would be cool.

alt text alt text

unity-e3.png (113.7 kB)
unity-e1.png (49.3 kB)
Comment
Add comment
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

3 Replies

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

Answer by liszto · Nov 02, 2012 at 05:11 PM

Did you try to not import normals in model importer view but let Unity compute them to see if the problem still happens ?

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
0

Answer by Loius · Nov 02, 2012 at 02:54 AM

In Blender, I would select all vertices in vertex-edit mode and 'smooth normals'. It looks like your normals for those vertices are 'hard' normals - the normals for one polygon don't match the normals for the polygon beside it. (The renderer uses the normal to determine where light comes from when it's rendering, basically)

This happens because each polygon gets its own set of normals; to make smoothed objects, when two polygons share an edge, the edge vertices are assigned identical normals.

I don't know what the 'smooth normals' command is in any other modeling program, but it'll include 'normals' in it somewhere.

Comment
Add comment · Show 2 · 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 DNP · Nov 02, 2012 at 05:56 AM 0
Share

What is the command for smoothing the normals?

avatar image Loius · Nov 02, 2012 at 06:00 AM 0
Share

In 2.49, if you select an object then hit Tab (Edit mode), W (special menu), and click "Set Smooth", that's the command I was trying to remember. I dunno how to get to it in 2.5.

avatar image
0

Answer by SifuKenji · Nov 02, 2012 at 08:00 AM

Hi Loius,

Thanks for the help.

I tried the fix. It looks better now but I can still see that edge effect happening.

I also took a picture of what I think is the new smooth command in Blender 2.5+. It's under shading on the menu on the left.

alt text


unity-e5.png (239.8 kB)
unity-e4.png (130.5 kB)
Comment
Add comment · Show 3 · 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 SifuKenji · Nov 02, 2012 at 05:43 PM 0
Share

Ha!

Thank you. That worked! Why are the normals not exporting correctly from Blender?

avatar image liszto · Nov 02, 2012 at 07:27 PM 0
Share

Don't forget to validate the good answer ;). This happen sometimes, on one of my project one mesh export from maya got the same problem whereas in $$anonymous$$aya all was fine. But I can't give more explanation :/ I'm developper not graphist :D

avatar image SifuKenji · Nov 02, 2012 at 07:49 PM 0
Share

Thank you for the answer Liszto, and Loius for the help and thank you DNP for reading and commenting.

If I figure out why the normals go bad I will let you all know. For now I am just going to continue building this level and let Unity calculate the normals.

Time to get back to work. :)

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

12 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

Related Questions

Weird lighting bug on model. 0 Answers

Weird Ligting inside my model after using Shell Modifier in 3dsMax 0 Answers

How to avoid lighting seams with connecting geometry? 1 Answer

Full model lighting 1 Answer

Having weird artifact while baking light ? 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