-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converter generates invalid texture coordinates #253
Comments
@pjcozzi There are at least 2 issues with the DAE:
but only one UV set is defined in the mesh. |
I'll dig a bit more and see how to handle this situation in a better way... |
fabrobinet
added a commit
that referenced
this issue
Apr 23, 2014
Implemented a work-around in dev-6. Model displays correctly now in my viewer. |
OK, thanks @fabrobinet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using collada.zip from https://groups.google.com/forum/#!topic/cesium-dev/WKndeTmqEW8
This model loads OK in Mac preview:
But once converted to glTF, it is a solid color:
A quick tweak to the shader:
shows that the texture coordinates are black.
This is because the generated semantics between the attributes and parameters are mismatched.
TEXCOORD_2
should beTEXCOORD_0
.The text was updated successfully, but these errors were encountered: