{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/6109","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/6109/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/6109/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/6109/events","html_url":"https://github.com/mrdoob/three.js/issues/6109","id":58426393,"number":6109,"title":"why does uv2 have to be on every shader regardless of USE_LIGHTMAP?","user":{"login":"makc","id":242577,"avatar_url":"https://avatars.githubusercontent.com/u/242577?v=3","gravatar_id":"","url":"https://api.github.com/users/makc","html_url":"https://github.com/makc","followers_url":"https://api.github.com/users/makc/followers","following_url":"https://api.github.com/users/makc/following{/other_user}","gists_url":"https://api.github.com/users/makc/gists{/gist_id}","starred_url":"https://api.github.com/users/makc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makc/subscriptions","organizations_url":"https://api.github.com/users/makc/orgs","repos_url":"https://api.github.com/users/makc/repos","events_url":"https://api.github.com/users/makc/events{/privacy}","received_events_url":"https://api.github.com/users/makc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Suggestion","name":"Suggestion","color":"ffffcf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T23:44:48Z","updated_at":"2015-02-21T00:11:31Z","closed_at":null,"body":"I mean this:\r\nhttps://github.com/mrdoob/three.js/blob/dev/src/materials/ShaderMaterial.js#L67\r\nhttps://github.com/mrdoob/three.js/blob/dev/src/renderers/webgl/WebGLProgram.js#L221\r\n\r\nvs\r\nhttps://github.com/mrdoob/three.js/blob/dev/src/renderers/shaders/ShaderChunk/lightmap_vertex.glsl\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/75342769","html_url":"https://github.com/mrdoob/three.js/issues/6109#issuecomment-75342769","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/6109","id":75342769,"user":{"login":"makc","id":242577,"avatar_url":"https://avatars.githubusercontent.com/u/242577?v=3","gravatar_id":"","url":"https://api.github.com/users/makc","html_url":"https://github.com/makc","followers_url":"https://api.github.com/users/makc/followers","following_url":"https://api.github.com/users/makc/following{/other_user}","gists_url":"https://api.github.com/users/makc/gists{/gist_id}","starred_url":"https://api.github.com/users/makc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makc/subscriptions","organizations_url":"https://api.github.com/users/makc/orgs","repos_url":"https://api.github.com/users/makc/repos","events_url":"https://api.github.com/users/makc/events{/privacy}","received_events_url":"https://api.github.com/users/makc/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T00:11:30Z","updated_at":"2015-02-21T00:11:30Z","body":"what would I do about defaultAttributeValues? if you remove it from there, lightmaps will fail on all the geometry with no 2nd uvs. not sure if having a single pixel of lightmap used is any better."}}