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
1
Question by manny003 · Oct 27, 2014 at 01:46 AM · textureuvuv mapping

Can I independently manipulate UVs of a multi-material object?

I have created an object in Blender where I created two UV mappings -- each to it's own material. I have also successfully imported that object into Unity and assigned separate materials to each "set" of UVs.

To further illustrate, think of a coin object where I have separate UV mappings and materials for the head and tail; or a painting where I have separate UV mappings and materials for the frame and picture. Each of these example is modeled as a single object.

When I import my multi-material object from Blender, I have 2 submeshes for it in Unity. OK.

My question: I am trying to employ texture atlases for each of my material UV "sets" (submesh?) where I would manipulate each set of UV coordinates independently (coin head vs tail; or frame vs picture).

Is this possible?

Let's assume that for the sake of this question, that alternatives approaches including changing out the materials at runtime, changing the material scale and offsets at runtime or splitting my object into two distinct objects have been considered and discarded for various reasons.

I really want to be able to do this by UV coordinates.

Thanks, Manny

Comment
Add comment · Show 1
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 robertbu · Oct 27, 2014 at 01:51 AM 0
Share

Not something I've ever done, but: The UVs are associated with vertices, so the key to making this work will depend on having independent vertices for each submesh. You cannot share vertices between triangles used by one submesh and triangles used by another submesh. $$anonymous$$esh.GetTriangles() will get the triangle list associated with a particular submesh. So as long as the vertices are not shared, then you should be able to use an atlas on a material by material basis.

0 Replies

· Add your reply
  • Sort: 

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

2 People are following this question.

avatar image avatar image

Related Questions

Assigning UV Map to model at runtime 0 Answers

Wrong import of UV from blender 1 Answer

Is it possible to UV map a cylinder without duplicating a column of vertices? 1 Answer

Apply texture to a mesh on all 3 sides 2 Answers

UV Mapping for 2D Meshes with 3 Vertices Only 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