From novice tinkering and reading tons of posts and papers I have a really simple depth-based SSAO working in LWRP.
Evidently the shader works! And by adding a custom forward renderer and putting stuff on layers I can see it as a pass.(Image 1)
The parts I can’t understand are:
-
It only works if I put a plane between the camera and the scene! If I remove the plane, the scene is sort… of projected onto the geometry itself. (Image 2)
Scaling this plane in X-Y scales the entire rendered image on it with the AO. -
How would I composite this over the actual real scene? I was planning on scaling this working plane to fit the camera and altering the shader to be additive or darkening. Or blitting the result…?
Thank you, I’m having a lot of fun learning this.

