{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/8381","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/8381/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/8381/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/8381/events","html_url":"https://github.com/mrdoob/three.js/issues/8381","id":141315182,"number":8381,"title":"glTF Loader issue - duck is dark","user":{"login":"cx20","id":1833979,"avatar_url":"https://avatars.githubusercontent.com/u/1833979?v=3","gravatar_id":"","url":"https://api.github.com/users/cx20","html_url":"https://github.com/cx20","followers_url":"https://api.github.com/users/cx20/followers","following_url":"https://api.github.com/users/cx20/following{/other_user}","gists_url":"https://api.github.com/users/cx20/gists{/gist_id}","starred_url":"https://api.github.com/users/cx20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cx20/subscriptions","organizations_url":"https://api.github.com/users/cx20/orgs","repos_url":"https://api.github.com/users/cx20/repos","events_url":"https://api.github.com/users/cx20/events{/privacy}","received_events_url":"https://api.github.com/users/cx20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-03-16T15:47:54Z","updated_at":"2016-03-22T15:49:25Z","closed_at":null,"body":"##### Description of the problem \r\n\r\n1. Show glTF loader example (http://threejs.org/examples/webgl_loader_gltf.html)\r\n2. Model: [Duck] \r\n3. Shaders: [ ] Use built-in (checked is off)\r\n\r\n##### Result\r\n\r\nduck.gltf (http://threejs.org/examples/models/gltf/duck/glTF/duck.gltf) is dark.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1833979/13818527/767421ba-ebd9-11e5-88a9-5596323b3e4f.png)\r\n\r\n...\r\n\r\n##### Three.js version\r\n\r\n- [X] r75\r\n\r\n##### Browser\r\n\r\n- [X] Chrome 49.0.2623.87 m\r\n- [X] Firefox 44.0.2\r\n- [X] Internet Explorer 11.162.10586.0\r\n- [X] Edge 25.10586.0.0 (EdgeHTML 13.10586)\r\n\r\n##### OS\r\n\r\n- [X] Windows 10\r\n\r\n\r\n##### Hardware Requirements (graphics card, VR Device, ...)\r\n\r\nThinkPad X201 + Intel HD Graphics\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/199875730","html_url":"https://github.com/mrdoob/three.js/issues/8381#issuecomment-199875730","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/8381","id":199875730,"user":{"login":"cx20","id":1833979,"avatar_url":"https://avatars.githubusercontent.com/u/1833979?v=3","gravatar_id":"","url":"https://api.github.com/users/cx20","html_url":"https://github.com/cx20","followers_url":"https://api.github.com/users/cx20/followers","following_url":"https://api.github.com/users/cx20/following{/other_user}","gists_url":"https://api.github.com/users/cx20/gists{/gist_id}","starred_url":"https://api.github.com/users/cx20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cx20/subscriptions","organizations_url":"https://api.github.com/users/cx20/orgs","repos_url":"https://api.github.com/users/cx20/repos","events_url":"https://api.github.com/users/cx20/events{/privacy}","received_events_url":"https://api.github.com/users/cx20/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T15:49:25Z","updated_at":"2016-03-22T15:49:25Z","body":"I tried fixed glTFLoader.js. But, I failed.\r\n\r\nhttps://github.com/tparisi/three.js/blob/6663990f65b593c925979f5d291dbed6d5c07166/examples/js/loaders/gltf/glTFLoader.js#L167\r\n\r\nHowever, after changing following undefined to 1.0 with a debugger, it was colored..\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1833979/13957623/6958315e-f090-11e5-91ea-1ebc848a716d.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1833979/13957645/7a643f42-f090-11e5-8f0c-64a789c62cc4.png)"}}