{"action":"created","issue":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/408","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/408/comments","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/408/events","html_url":"https://github.com/BabylonJS/Babylon.js/pull/408","id":57910615,"number":408,"title":"new lens effects rendering pipeline","user":{"login":"jahow","id":10629150,"avatar_url":"https://avatars.githubusercontent.com/u/10629150?v=3","gravatar_id":"","url":"https://api.github.com/users/jahow","html_url":"https://github.com/jahow","followers_url":"https://api.github.com/users/jahow/followers","following_url":"https://api.github.com/users/jahow/following{/other_user}","gists_url":"https://api.github.com/users/jahow/gists{/gist_id}","starred_url":"https://api.github.com/users/jahow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahow/subscriptions","organizations_url":"https://api.github.com/users/jahow/orgs","repos_url":"https://api.github.com/users/jahow/repos","events_url":"https://api.github.com/users/jahow/events{/privacy}","received_events_url":"https://api.github.com/users/jahow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T11:03:54Z","updated_at":"2015-02-17T17:06:31Z","closed_at":"2015-02-17T16:59:22Z","pull_request":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/408","html_url":"https://github.com/BabylonJS/Babylon.js/pull/408","diff_url":"https://github.com/BabylonJS/Babylon.js/pull/408.diff","patch_url":"https://github.com/BabylonJS/Babylon.js/pull/408.patch"},"body":"Adds a new RenderingPipeline class, based on the SSAORenderingPipeline example.\r\n\r\nThe pipeline uses several effects to produce lens-like post-processing:\r\n- chromatic aberration (slight shift of RGB colors)\r\n- blur on the edge of the lens\r\n- lens distortion\r\n- depth-of-field blur & highlights enhancing\r\n- depth-of-field 'bokeh' effect (shapes appearing in blurred areas)\r\n- grain effect (noise or custom texture)\r\nTODO: write doc on it...\r\n\r\nDemo here: http://onirium-games.com/temp/lens_vfx_test/\r\n\r\nReferences & inspiration:\r\n- http://artmartinsh.blogspot.fr/2010/02/glsl-lens-blur-filter-with-bokeh.html\r\n- http://blenderartists.org/forum/showthread.php?237488-GLSL-depth-of-field-with-bokeh-v2-4-(update)\r\n- http://devlog-martinsh.blogspot.fr/2011/10/glsl-cubic-lens-distortion.html\r\n- https://medium.com/@mattdesl/filmic-effects-for-webgl-9dab4bc899dc\r\n- http://www.lab4games.net/zz85/blog/2013/03/30/three-js-bokeh-shader/"},"comment":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/comments/74705450","html_url":"https://github.com/BabylonJS/Babylon.js/pull/408#issuecomment-74705450","issue_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/408","id":74705450,"user":{"login":"deltakosh","id":1306056,"avatar_url":"https://avatars.githubusercontent.com/u/1306056?v=3","gravatar_id":"","url":"https://api.github.com/users/deltakosh","html_url":"https://github.com/deltakosh","followers_url":"https://api.github.com/users/deltakosh/followers","following_url":"https://api.github.com/users/deltakosh/following{/other_user}","gists_url":"https://api.github.com/users/deltakosh/gists{/gist_id}","starred_url":"https://api.github.com/users/deltakosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltakosh/subscriptions","organizations_url":"https://api.github.com/users/deltakosh/orgs","repos_url":"https://api.github.com/users/deltakosh/repos","events_url":"https://api.github.com/users/deltakosh/events{/privacy}","received_events_url":"https://api.github.com/users/deltakosh/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T17:06:31Z","updated_at":"2015-02-17T17:06:31Z","body":"Next steps: documentation and samples on Playground :)"}}