Hello there,
I apologize if this question has already been asked/explained. I did try to search google and these forums but have such trouble finding information on the topic. So your time is much appreciated!
Basically, I was curious as to overlapping uv's in games and the correct way to do them (in Maya specifically.) I do know how to set my uv layouts to overlap by whatever distance, however my question comes in the shaded view that Maya has to offer.
As with the attached image as an example, I'm wanting to overlap the uv's on the right to match the left. I know that I can flip the uv's on the right side (which turns them red, and then overlap that way.) Does this have an effect on the actual in game uv's? Is it ok to leave my uv layout as purple? Or do I need to make sure that all the uv's are blue and snap them together? Is there a quick way to mirror uv's in Maya other than flipping and turning it red/messing with normal directions, or physically snapping each uv to match the other?
Bah, I seem to be totally lost and just confusing myself even more. Alas, any comments are much appreciated! Thanks for your patience
Replies
1. if you're baking a normal map from high-res mesh, then overlaps are bad (move them 1 unit outside the UV square instead)
2. If you're using lightmaps, be careful with overlaps, as the lighting will be identical for overlapped parts. Overlaps should be avoided at bake time though, so you usually move them outside the UV square.
Some tips here
http://wiki.polycount.com/NormalMap#UV_Coordinates
My more specific question with Maya is, Is it ok to leave the overlapped Uv's as purple? (That to me means that one uv set on the mesh needs flipped to be blue.) Does it matter if my uv's overlap and stay purple? or do they need to be all blue?
Other than that it really doesn't matter except you need to remember that the texture will be mirrored on the uv-shells that are red. That's usually only a problem if you have text or something like that on your texture.
Also, after moving the shells out of the UV square, you can leave them there, forever. As long as it is moved in whole units, so the texture placement will match.
I'm not sure if this affects normal maps much though. Your normals direction is not related to the uv's red/blue colour like you thought in your first post. Although reversing the normal on a polygonal face will flip its uv, if you flip the uv yourself it will not reverse the normal.
What would it be the workflow in Maya with Overlapping UVs ?
There is no option dedicated to that and the only one that I've found is in the auto layout function that unfortunately does not work :poly127:
So I've come out with this workflow , please let me know what are your thought and if there is a easier way to do it .
Build the Low Poly model using instances for the objects you want to overlap on the UV space.
Auto Lay Out the single not overlapping shells UV shells.
When you're ready to export , make a copy of the Low Poly with all the instances merged in one object : this will delete the instance node and assign an overlapping UV shell for each instance element.
I'm using substance painter to bake all my maps and never gave me an error , maybe SP only bakes the one on top and ignore the others underneath ?
We have more info on optimal workflow here, along with reasons for each step.
http://wiki.polycount.com/wiki/Texture_Baking