{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/7316","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/7316/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/7316/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/7316/events","html_url":"https://github.com/mrdoob/three.js/pull/7316","id":110577017,"number":7316,"title":"Added support for instancing with Points","user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-09T02:32:58Z","updated_at":"2015-10-09T19:22:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/7316","html_url":"https://github.com/mrdoob/three.js/pull/7316","diff_url":"https://github.com/mrdoob/three.js/pull/7316.diff","patch_url":"https://github.com/mrdoob/three.js/pull/7316.patch"},"body":"/ping @benaadams \r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/146965958","html_url":"https://github.com/mrdoob/three.js/pull/7316#issuecomment-146965958","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/7316","id":146965958,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T19:22:16Z","updated_at":"2015-10-09T19:22:16Z","body":"Here is what I am doing.\r\n\r\n```glsl\r\nuniform mat4 modelViewMatrix;\r\nuniform mat4 projectionMatrix;\r\n\r\nattribute vec3 position;\r\nattribute float idx;\r\nattribute vec3 color;\r\n\r\nvarying vec3 vColor;\r\n\r\nuniform float time;\r\n\r\nvoid main() {\r\n\r\n\tvColor = color;\r\n\r\n\tvec3 offset = vec3 (\r\n\t\tsin( idx * 3.0 ) * 10.0,\r\n\t\tcos( idx * 5.0 ) * 10.0 + sin( time + idx ) * 1.0,\r\n\t\tsin( idx * 2.0 ) * 10.0\r\n\t);\r\n\r\n\tvec4 mvPosition = modelViewMatrix * vec4( position + offset, 1.0 ); // position must be used or error thrown...\r\n\r\n\tgl_PointSize = 2.0 * ( 300.0 / length( mvPosition.xyz ) );\r\n\r\n\tgl_Position = projectionMatrix * mvPosition;\r\n\r\n}\r\n```\r\n\r\nSo I understand what you are suggesting, avoid instancing alltogether in this case?"}}