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 Lucio · Jul 29, 2010 at 12:12 AM · blenderuvmappingnormalmapbumpmap

How does Unity read Blender UV channels order for correcting mapping?

I realized that if I create two UV's in the Blender, Unity automatically reads the first UV channel as "Base" and the second as "lightmap".

And bumpmap?

I created Difuse, Normal Map (Bump) and Lightmap in Blender, each one with its respective UV map channel. Consequently, now in Unity, I need to use the channels Base, Bump and the lightmap of "Lightmapped / Bumped Diffuse" shader. How should I organize my UV's in the blender so that the unity read each one for each channel of the shader? The Unity reads more than two UV channels of blender? How does this reading of the relationship between Blender's UV's and shaders channels of 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

1 Reply

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

Answer by Eric5h5 · Jul 29, 2010 at 12:25 AM

Unity can only use 2 UV sets.

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 Lucio · Jul 30, 2010 at 05:42 PM 0
Share

It would be much better if the normal map read the second UV (the same of lightmap) and not the first. For thus we would have a much better optimization since we could use small tiled textures for the first UV. The way it is today, we can not use tiled with normal map texture and lightmap. But we have to create a bigger texture for diffuse with several pieces of tiled texture duplicated. Do you agree? Have any other solution to use small tiled texture for diffuse with bumpmap and lightmap?

avatar image Eric5h5 · Jul 30, 2010 at 07:03 PM 0
Share

@Lucio, I don't really understand what you're trying to do, but you can use either set of UVs to do whatever you want. You're not stuck with the built-in shaders; you can alter them and use custom shaders for any purpose.

avatar image Lucio · Aug 02, 2010 at 08:10 PM 0
Share

Hi, @Eric5h5! What I'm trying do explain is clear explained in this image http://www.4shared.com/photo/e$$anonymous$$IBn0g-/unity.html

I realize that unfortunately we do not have this interface I suggested in this shader. The solution is that even what you said. But I'm still beginning to study the creation of shaders. Could you tell me more specifically what and where should I look on the definition of uv map by custom shader code? Thank you!

avatar image Eric5h5 · Aug 02, 2010 at 09:44 PM 0
Share

@Lucio, if you look at the Lightmap-VertexLit shader, where it has the BindChannels section, that would probably be the sort of thing you'd apply to a custom bumped diffuse shader, which you'd use as a pass in a custom Lightmap-Bumped shader.

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

No one has followed this question yet.

Related Questions

Blender to Mixamo to Unity3D 1 Answer

Blender and possibly UV issues 1 Answer

Animation with UV Warp Modifier from Blender 2 Answers

Unity is not showing textures on imported models 0 Answers

How to change shader normal uvs? 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