You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by jurisk May 28, 2023
When loading a glTF scene, I'm getting WARN bevy_gltf::loader: Unknown vertex attribute TEXCOORD_1 errors, and the model loads, but without textures shown (it's completely grey).
I think this is because:
The model has multiple UV Texture coordinate attributes defined
Client implementations SHOULD support at least two texture coordinate sets, one vertex color, and one joints/weights set
searching for "texture coordinate" in the GLtf document, it seems multiple UVs are used to have a different set of coordinate per material textures (say the normal texture could map differently to the mesh than the diffuse/color texture) I don't quite see how we could implement it in bevy, but I think it's probably a worthwhile feature to consider.
The text was updated successfully, but these errors were encountered:
This is key for those of us using lightmaps, gltfs exported from unreal can go as high as uv4 so It would be great if it was more than just adding uv1 also
Summary
Bevy
bevy_gltf
and meshes currently do not support multiple texture coordinate sets (multiple UV maps).glTF spec https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#meshes indicates that it should:
Discussed in #8698
Originally posted by jurisk May 28, 2023
When loading a glTF scene, I'm getting
WARN bevy_gltf::loader: Unknown vertex attribute TEXCOORD_1
errors, and the model loads, but without textures shown (it's completely grey).I think this is because:
Two questions:
@nicopap responded:
The text was updated successfully, but these errors were encountered: