{"action":"opened","issue":{"url":"https://api.github.com/repos/phetsims/scenery/issues/342","labels_url":"https://api.github.com/repos/phetsims/scenery/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/scenery/issues/342/comments","events_url":"https://api.github.com/repos/phetsims/scenery/issues/342/events","html_url":"https://github.com/phetsims/scenery/issues/342","id":53362759,"number":342,"title":"[WebGL] make sure we are using a safe number of vertex attributes","user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T04:11:40Z","updated_at":"2015-01-05T04:11:40Z","closed_at":null,"body":"According to http://codeflow.org/entries/2013/feb/22/how-to-write-portable-webgl/ a limited number of vertex attributes is available:\r\n\r\n> What is a safe vertex attribute count?\r\n> WebGL Stats collects this information and it is safe to use 16 vertex attributes supported by 99.9%.\r\n\r\nI believe our color shader is currently using 21-dimensional data (including vertex coordinates), so we should make sure this is safe."}}