New to Unity: uvSets from Maya

Hey all,
First off i have very very little experience with unity, and most of my material building knowledge is through maya. I am currently trying to export mesh’s from maya in .FBX format with materials fully built in maya. These materials however have had problems loading right in unity however, because in unity the textures do not link to the separate uvSets. As a result i get something like the left image in the photo below. The normals don’t wrap around the edge of the cube instead they appear in full on each side of the cube.

If anyone knows how to manage layered textures/uvSets in Unity that’d be perfect, or if there is a similar shader network in the program that i could use would also be helpful.
Thanks,
Treacherous8

You’d have to set up your own shader that explicitly tells the normal map to use the second UV channel and the diffuse to use the first UV channel.

Usually in Unity, UV channel 2 is reserved for atlased lightmap coords, so the built-in Unity shaders all use the first UV channel for the textures and the second for the lightmapping (if it’s applied).


that’s how it is set up… in maya at least. Is there a way to assign or reassign uvSets to objects in Unity?

Yes, you’d have to set up your own shader and tell it to use the second UV set for your normal map. I don’t mean in Maya - that information doesn’t carry over in the export process - I mean in Unity.