Screen Space Ambient Occlusion (SSAO) It is a "cheap" easy way to provide soft lighting to scenes. It is a quick way for basic a-frame scenes to look closer to a ray traced / realistic lighting.
How to add as an effect in this repo?
There are 2 potential post processing screen space ambient occlusion effects
Another SSAO library was recently released https://github.com/N8python/n8ao . There also appear to be many similarities with this post processing concept, however it uses a fullscreentriangle instead of a quad for composing its effects.
So it might be best to start with the threejs SSAO example?
Why is an SSAO pass helpful?
How to add as an effect in this repo?
There are 2 potential post processing screen space ambient occlusion effects
So it might be best to start with the threejs SSAO example?