{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/12608","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/12608/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/12608/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/12608/events","html_url":"https://github.com/mrdoob/three.js/issues/12608","id":272386955,"number":12608,"title":"GLTFLoader does not support texCoord fields","user":{"login":"stevenvergenz","id":1882376,"avatar_url":"https://avatars3.githubusercontent.com/u/1882376?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenvergenz","html_url":"https://github.com/stevenvergenz","followers_url":"https://api.github.com/users/stevenvergenz/followers","following_url":"https://api.github.com/users/stevenvergenz/following{/other_user}","gists_url":"https://api.github.com/users/stevenvergenz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenvergenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenvergenz/subscriptions","organizations_url":"https://api.github.com/users/stevenvergenz/orgs","repos_url":"https://api.github.com/users/stevenvergenz/repos","events_url":"https://api.github.com/users/stevenvergenz/events{/privacy}","received_events_url":"https://api.github.com/users/stevenvergenz/received_events","type":"User","site_admin":false},"labels":[{"id":58672,"url":"https://api.github.com/repos/mrdoob/three.js/labels/Feature%20Request","name":"Feature Request","color":"0e8a16","default":false},{"id":854373772,"url":"https://api.github.com/repos/mrdoob/three.js/labels/Loaders","name":"Loaders","color":"5ecee5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-08T23:27:18Z","updated_at":"2018-04-12T20:11:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"##### Description of the problem \r\n\r\nToday, the Three.js engine does not allow the use of arbitrary UV coordinate sets for textures. Instead, they're hardcoded to channel 0 for all textures, except for lightMap which uses channel 1. As a result, the `texCoord` property of glTF textureInfo objects are ignored. Thus, the glTF loader is not compliant to the spec.\r\n\r\nOnce the engine supports UV channels better, this issue is a reminder to update the loader too.\r\n\r\n##### Three.js version\r\n\r\n- [x] Dev\r\n- [ ] r87\r\n- [ ] ...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/380929935","html_url":"https://github.com/mrdoob/three.js/issues/12608#issuecomment-380929935","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/12608","id":380929935,"user":{"login":"MiiBond","id":1069125,"avatar_url":"https://avatars1.githubusercontent.com/u/1069125?v=4","gravatar_id":"","url":"https://api.github.com/users/MiiBond","html_url":"https://github.com/MiiBond","followers_url":"https://api.github.com/users/MiiBond/followers","following_url":"https://api.github.com/users/MiiBond/following{/other_user}","gists_url":"https://api.github.com/users/MiiBond/gists{/gist_id}","starred_url":"https://api.github.com/users/MiiBond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiiBond/subscriptions","organizations_url":"https://api.github.com/users/MiiBond/orgs","repos_url":"https://api.github.com/users/MiiBond/repos","events_url":"https://api.github.com/users/MiiBond/events{/privacy}","received_events_url":"https://api.github.com/users/MiiBond/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T20:11:54Z","updated_at":"2018-04-12T20:11:54Z","author_association":"CONTRIBUTOR","body":"Just to chime in on this, Adobe Dimension's glTF exporter (which I'm currently writing) requires the second UV channel to display decals correctly.\r\nWe'll also be supporting separate transforms per texture in the near future which will also be problematic for three.js. Time for a refactor of how three.js materials use textures :) #8278"}}
{"actor":{"display_login":"MiiBond"}}