Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 HHameline · Jul 27, 2011 at 01:56 PM · textureslightmapmeshesuvs

Trouble with UV Mapping

Hello All,

I'm fairly new to Unity and game development, and I'm having a problem with my avatar creator. I am using the same kind of system as the free demo-project, where I build a single Skinned Mesh Renderer out of multiple mesh pieces. The problem I'm having right now is that a single hair mesh when it's texture is applied, the UV mapping is wrong and the texture looks all funky on the mesh. If I take the individual mesh into a scene and apply any of it's textures no problem, it is only when the avatar is built that its actually messing up. All of the other meshes/textures work except for this one. I know this is a very vague question, but can you think of anything that I could check for troubleshooting wise? Any help no matter how minute would be awesome!

Thanks Hans

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

Answer by testure · Jul 27, 2011 at 02:21 PM

first off- i think your terminology is off, because you can't lightmap a skinned mesh.. only static.

I can infer from your post that your lighting is not looking correctly. This is probably because you have a vertex lit shader mixed in with shaders that are pixel lit. For your hair, make sure you're using a cutout shader and not a 'transparency' shader. cutout shaders are pixel lit, but can only do binary transparency. as far as your uv's being off, there's no way to tell without seeing the mesh. just verify that you have the correct textures applied to the right materials, and the right materials applied to the right polygons :)

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 HHameline · Jul 27, 2011 at 02:24 PM 0
Share

Sorry your correct my ter$$anonymous$$ology was off I have edit my original question, what I meant was the UV map is thrown off not the light mapping. The shader itself doesn't seem to be the problem the the lighting is fine in the scene but the texture itself isn't sitting correctly on the mesh.

avatar image HHameline · Jul 27, 2011 at 02:30 PM 0
Share

Is there any reason you can think of why apply the texture to the mesh through a script would throw off the UV map? When I check the avatar in the scene it is the proper mesh and the proper texture. They aren't being mismatched

avatar image HHameline · Jul 29, 2011 at 12:07 PM 0
Share

I marked this answered because the problem is no longer persisting, I redid the mesh and it works out so the old UV map must have been incorrect

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Remove Distortion on custom UV mesh 1 Answer

How to import lightmapped objects from Blender. 0 Answers

Color mismatch between meshes 1 Answer

Swapping Textures vs Swapping Meshes 1 Answer

How to get 1 game object to effectively use 100s of textures. 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