{"action":"opened","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/6294","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/6294/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/6294/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/6294/events","html_url":"https://github.com/mrdoob/three.js/issues/6294","id":64606519,"number":6294,"title":"BohekPass renders to pass specific depth buffer, it should allow for a shared depth buffer","user":{"login":"bhouston","id":588541,"avatar_url":"https://avatars.githubusercontent.com/u/588541?v=3","gravatar_id":"","url":"https://api.github.com/users/bhouston","html_url":"https://github.com/bhouston","followers_url":"https://api.github.com/users/bhouston/followers","following_url":"https://api.github.com/users/bhouston/following{/other_user}","gists_url":"https://api.github.com/users/bhouston/gists{/gist_id}","starred_url":"https://api.github.com/users/bhouston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhouston/subscriptions","organizations_url":"https://api.github.com/users/bhouston/orgs","repos_url":"https://api.github.com/users/bhouston/repos","events_url":"https://api.github.com/users/bhouston/events{/privacy}","received_events_url":"https://api.github.com/users/bhouston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-26T18:52:04Z","updated_at":"2015-03-26T18:52:04Z","closed_at":null,"body":"BohekPass renderes to its own depth buffer here:\r\n\r\nhttps://github.com/mrdoob/three.js/blob/master/examples/js/postprocessing/BokehPass.js#L42\r\nhttps://github.com/mrdoob/three.js/blob/master/examples/js/postprocessing/BokehPass.js#L79\r\n\r\nI would suggest that we allow for it to share depth buffers across multiple shaders, like SSAO does:\r\n\r\nhttps://github.com/mrdoob/three.js/blob/master/examples/js/shaders/SSAOShader.js#L19"}}