Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
1
Question by Ricardo · Nov 27, 2009 at 10:10 PM · importuvnormalmap

Mirror UVs for normal maps

Does Unity supports mirrored UVs for normal maps? It is my understanding that the artist wants to have a full model, but with the final unwrap include only 1/2 a symmetrical normal map, then use mirrored UVs to map it to both halves of the model, but we're unclear on if this is supported by Unity.

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
3
Best Answer

Answer by equalsequals · Nov 27, 2009 at 10:43 PM

If I am understanding you correctly, you are asking if you can take a mesh, (i.e. half of a person) and UV map it, then use a mirror modifier to make it into a symmetrical mesh?

If so, yes Unity supports this.

The process goes as follows:

  1. Create the half mesh in your editing software
  2. Unwrap the UV on the half-mesh
  3. Texture it
  4. In the editing software apply the mirror modifier
  5. save and drag n' drop into unity or export as FBX - whichever.

You should be good-to-go.

Cheers!

==

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 Ricardo · Nov 27, 2009 at 10:59 PM 0
Share

Thanks for the answer. Actually the intention is to have a full model, UV mapped, but with just half the normal texture that is then mirrored into the full mesh. I've clarified the question.

avatar image equalsequals · Nov 28, 2009 at 03:39 AM 1
Share

No problem. The answer is the same. :)

avatar image Ricardo · Nov 28, 2009 at 05:01 AM 0
Share

Great, excellent. I'll let them know, we'll see if the same goes if the model is already created, but has yet to be textured.

avatar image
-1

Answer by user-9122 (google) · Feb 10, 2011 at 10:11 AM

I know this is an old question, but I'm updating it so if other people are searching for this they'll get some better information.

Technically your normal map will work, it'll just appear to be inverted (creases in will appear to go out, ect.) on the mirrored half. If you're just painting your normal maps in photoshop it probably won't look as bad as if you where baking them from a high poly source.

It's up to the artist to decide whether to do this or not. If it's just on some environment pieces or stuff that won't be close to the camera, go for it. If it's on a character spend the extra time to do it right.

When I'm doing anything with normal maps I make sure my UVs aren't flipped/mirrored. If you have overlapping UVs that's fine, as long as they're not mirrored and not overlapping if you're baking out your normals.

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 Daniel-Brauer · Jun 07, 2011 at 02:04 PM 1
Share

This is incorrect. All of Unity's built-in shaders and all surface shaders support mirrored tangent space using homogeneous tangent vectors. This means that if your modelling program outputs tangents with the correct W component (1 for normal, -1 for mirrored), then normal maps will look fine even if the UVs are mirrored. Here is an explanation: http://forum.unity3d.com/threads/65859-Symmetric-models-with-mirrored-normal-maps-Shader-Fix?p=420888&viewfull=1#post420888

The one place where your modelling program probably won't help you is on the UV seams that transition from normal to mirrored. For these places, you have to make sure that your normal map is continuous when mirrored. Here is a good explanation of how to do this: http://www.polycount.com/forum/showthread.php?t=51088

avatar image
0

Answer by IgorAherne · Mar 21 at 07:52 AM

Make sure than in the import settings of your objects you select the tangents as "Import"

alt text


ctrli-jpg.jpg (308.4 kB)
tangents.jpg (158.0 kB)
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

1 Person is following this question.

avatar image

Related Questions

How to add UV images to an object 1 Answer

How to get a mesh without UV data 1 Answer

Damaged UVs of mesh after import? 1 Answer

How do you import blender UV maps into unity? 3 Answers

Importing models, Textures, UV maps/ UV Swapping 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