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 /
This question was closed Aug 20, 2013 at 12:06 AM by Benproductions1 for the following reason:

Duplicate Question

avatar image
-1
Question by Purpleshine84 · Aug 19, 2013 at 07:40 PM · tangents

Shader wants Tangents but the mesh doesnt have any!

Ok, so: Shader wants Tangents but the mesh doesnt have any! What do I have to do? I putted a texture on my terrain, also a normal map, and I also have searched havely and I know that I have to do something with the Tangents, but... I cannot find the import button for it! Help! Where is it?

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

  • Sort: 
avatar image
1
Best Answer

Answer by OP_toss · Aug 19, 2013 at 10:57 PM

Click on the mesh in the Project window. In the Inspector window make sure it Generates Tangents.

Tangents are vectors perpendicular to Normals. They exist in the mesh. Yours doesn't have any, so just let Unity generate them.

Comment
Add comment · Show 4 · 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 Purpleshine84 · Aug 20, 2013 at 03:10 PM 0
Share

I am sorry but there is only terrain... not any information about tangents or what so ever.... NOthing there!

avatar image Purpleshine84 · Aug 20, 2013 at 03:13 PM 0
Share

And I DID look from out of the Project window, then in the inspector it says: terrain and nothing under it. Simply NOTHING! But thanks for your help anyway.

avatar image OP_toss · Aug 21, 2013 at 12:48 AM 0
Share

Yeah I also didn't notice you were using a Terrain... Z_Z

Those are not by any means a normal mesh. They dynamically change geo based on camera to provide LOD, so no they don't have tangents I guess... $$anonymous$$aybe you need a special shader for them? Or you can calculate your own tangents I think, but that's much more complicated.

avatar image Purpleshine84 · Aug 23, 2013 at 11:58 AM 0
Share

Thank you, you helped a lot ;)

Follow this Question

Answers Answers and Comments

16 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

Related Questions

simply assign tangents to single quad 1 Answer

Relative rotation with touch sometimes jumps to new rotation 1 Answer

Undocumented property: Keyframe.tangentMode 3 Answers

Mirroring Entire Scene 0 Answers

How to prevent Unity from modifying tangent 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