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 Wolfie · May 04, 2012 at 12:29 AM · normalsnormal mapsmoothingbaked

Baked Normal Map Discrepancies

I've baked out normal maps for various objects, but I'm confronted with this problem; alt text

In this quick example I've taken a high-poly model (shown left, in Sculptris) and an equivalent low-poly made in Blender (shown right, in Unity). Both models were exported as .obj files to xNormal where everything was baked into a normal map. Annoyingly all the small bevelled faces now appear concave and the large faces appear convex. I can fix this of course by re-baking it all for a hard-edged model and setting the smoothing angle to 0 in the Unity .fbx importer for the low-poly. This leads to very noticeable seams, as would be expected, so it's not really an acceptable workaround.

So first off, is this something I'm doing wrong, or is there a problem with Unity as it stands? I've been treating it as my fault for a while now, but this thread made me think this might not be the situation (this is also why I'm posting it here as a Unity specific question, as opposed to asking in forums for other programs);

http://forum.unity3d.com/threads/38781-Calculating-Unity-s-tangent-basis-for-xNormal

To my amature eyes it certainly does look as though the smoothing calculations aren't all matching up as they should.

Secondly if it's not my fault does anyone know of a good workaround, or better yet a fix for this? Does anyone currently not have this problem with these kinds of models, and if so what are you doing to make normal maps?

Portrait of a brick; an abstract masterpiece.png (446.4 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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Piflik · May 04, 2012 at 12:41 AM

How does your lowpoly look like? Smoothing Groups and UVs are most important. You should ALWAYS have different Smoothing Groups for different UV shells and vice versa. Try splitting the UVs/Smoothing Groups accordingly and rebake.

I don't have experience with this with Blender, though. But I had a normal mapped asset from Max in Unity and it looked fine (Tangent base used: R: X+, G: Y+, B: Z+), not as good as in Marmoset, but no normal map errors. I used my own shader, though, so this might have been a factor, too.

Comment
Add comment · 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 Wolfie · May 04, 2012 at 08:59 PM 0
Share

$$anonymous$$y lowpoly is the simple wireframe seen in Unity on the screenshot above. Although I'm quite shoddy when it comes to ter$$anonymous$$ology (Blender has an awkward habit of na$$anonymous$$g things differently to everyone else, plus I'm self taught) I believe it has a single smooth group for the whole model, and the UVs are separated into several shells.

I tried what you suggested about splitting it into several smoothing groups for each UV shell, but unfortunately that had the same effect, except with nasty seams along all UV split edges.

Thanks for the reply, but unless I've misunderstood something (admittedly quite possible) I don't reckon this what's wrong.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to Prevent Vertice/Normal Seams Visible on Mesh? 0 Answers

Surface Shader apply normal map to object normal without pluggin it into o.Normal 1 Answer

Calculating a Second Set of Normals 0 Answers

Game Lags when 2 same Objects in scene 1 Answer

Problem with Normal Maps 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