Can you use a second UV set for a second texture map?
Im building an modular built Building. As the building is going to be massive I was going to using a overall UV map to drive the main maps and to increase the resolution of the model I was going have a second UV set containing more finer textures and dirt maps by overlapping UV Shells giving more pixels for each shell in the UV space. Is it possible for Unreal Engine 4 to power both UV sets through the model, if so how can it be done?
asked Mar 28 '15 at 04:41 PM in Using UE4
Right click within the material editor, and type "TextureCoordinate", hook this node into your texture sample node.
Select the TexCoord node, and within the details panel (default; under the preview), you'll find "Coordinate index".
Remember that they start at 0~!
Yep, you definitely can. How you generate the UV unwraps will be down to the individual modeling software you are using, but you can import multiple UV maps in the .fbx file. In the UV mapping node in your material editor, in the details panel you can specify which UV index you want to use when mapping that texture sampler, or part of the shader.
Overlapping poly's in a UV map is a perfectly valid and useful technique - just keep in mind that if you want to do any baked lighting, Unreal will need one UV index that doesn't have any overlapping shells.
answered Mar 28 '15 at 06:35 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here