Hello
I’m wondering how unity reads a fbx with two UV maps assigned to one mesh.
I’m using the FBX sdk to write the file, the first diffuse uv map
LayerElementUV: 0 {
Version: 101
Name: "DiffuseUV"
MappingInformationType: "ByPolygonVertex"
ReferenceInformationType: "IndexToDirect"
UV: *104 {
a: ...
}
UVIndex: *52 {
a: ...
}
}
then the bump UV map
LayerElementBumpUV: 0 {
Version: 101
Name: "BumpUV"
MappingInformationType: "ByPolygonVertex"
ReferenceInformationType: "IndexToDirect"
UV: *104 {
a: ...
}
UVIndex: *52 {
a: ...
}
}
This fbx imports fine in maya and both UV maps shows up fine in UV editor.
In unity however it is only using the UV map from diffuse UV channel. I’ve set the unity material to be bumped diffuse. Both diff and bump use diffuse UV’s
attaching fbx
370049–12824–$test_173.zip (3.51 KB)