Exported assets are free to use commercially and modify.

GTAOShader.js

GTAOBlendShader

Combine ambient occlusion

GTAOBlendShader
Preview requires WebGL2. You can still download the demo.
Drag to orbit · Middle-drag to pan · Scroll to zoomOne finger to orbit · Two fingers to pan or zoom

Adds shadows back to the color picture so corners and touching objects are easier to see.

Official source