Protected_Returns a set of all the cameras this post-process effect is attached to.
Runs the initialize method if the post-process has not yet been initialized. Then attaches the post-process effect to the specified camera.
The camera to attach the post-process effect to.
true if the post-process effect was successfully attached to the camera, otherwise false.
Disables the post-process effect for the specified camera.
The camera to detach the post-process effect from.
true if the post-process effect was successfully detached from the camera, otherwise false.
ProtectedinitializeMethod for initializing this post-process effect before it gets attached to a camera. This gets called automatically from attach.
BabylonJS camera variable.
Calculates SSAO using the depth buffer. Pretty much John Chapmans SSAO tutorial: http://john-chapman-graphics.blogspot.com/2013/01/ssao-tutorial.html but there is no normal buffer so we have to recreate the normals from the depth buffer instead