Hi guys I follow this instructions pass by pass:
A) UV Layout for Lightmaps
To have less to no problems with lighting in Unreal you need two sets of UVs. First one for the textures and materials, second for the Light/shadowmaps.
The first UV tag (Index 0) can have overlapping UVs, no problem.
But the second (Index 1) needs to be absolutly clean, no overlap or anything. This is easily done.
Simple create the UV tag
(should you work with Cube/Sphere Mapping etc, you can easily generate the tag by right clicking on the material and saying “Generate UVW Tag”.)
name it UVW 0, CTRL+ LMB click’n’Drag to the right and thereby create a second one and name this Tag “UVW 1”.
Then go to Bodypaint (Layout panel -> BP UV Edit).
Now you select the object, select all faces, click on the second UVW Tag and in the “UV Mapping” Editor window in the bottom right go to the “Optimal Mapping” Tab.
Tick the box next to “Optimal (Cubic)” and hit apply.
Depending on how high res your object is it may calculate a while but then give you a nice and clean UV Layout
Aaaaand you’re done.
The only problem is when I export to Unreal is that I dont get the textures, If I do it without the UVs I can see the textures, when I apply Optimal Mapping and I export to FBX into Unreal the textures become whites, any subbestion?.. Thanks in advance…