This is something that has been confusing me for a long time, I heard many times that when you have to duplicate a mesh on the same object it can be a good idea to do the UV first and then duplicate it so you wont have a hundred cubes on the UV map for instance.
But I don't really understand the logic behind it since if two cubes share the same UV it means also that the baking of the lights in the engine will be the same on all the cubes sharing the same UV? and here is an example:
I am making this house for UE4 and this is the roof, but as you can see the tiles are really repetitive, so should I:
1) Make lets say 10 tiles do the UV and then just duplicate them until I get this roof again? Or should I
2) Make them individually with each tile a separate unique UV so in the final UV map I will have hundreds of unwrapped squares?
But If I do the first way I don't understand how it works since so many will share the same UV, what happens when you bake the lightmap? the shadow that should be on the left of the roof will also be on the right of the roof ? That's what I am really confused about.
Thanks for the help.
Replies
because if I tile something like 3times and I move the UV shell to one whole unit to the left for all of them, all of them will be stacked on top of each other but outside of the 0-1 space is that ok or I should move them around so they are never on top of each others?
if you duplicate the geometry and move all duplicates outside 0-1 they will get the same ao as the original still in the 0-1 space when you move them back after baking
to have unique ao for every shingle, you would need to unwrap them unique
you could use your second uv channel, which you will propably use for lightmaps, to bake the ao map from that and then modify your shader to that
I was losing my mind over this.
I tried doing the UV set thing to one whole unit to the left.
But then I got this in the baker:
This is what I get if every tile has a unique UV shell but the uv map is insane.
What would they do in a professional environment? is it not too much to have all those tiles?