mrdoob/three.js — Issue #1271: SSAO dev status
Author: janito
Created: 2012-02-08 11:14:12+00:00
State: open

Hi everyone.
I was trying the effects available in 'ShaderExtras.js' for the composer, but I can't manage to put SSAO to work.
Unfortunately, I couldn't find any working example either.
I suspect it's waiting for a parameter to be passed, something like a uniform.

The discussion here at issues started in August 2011
https://github.com/mrdoob/three.js/issues/323#issuecomment-1802390

SSAO was implemented in a dev branch for r46 and officially added to ShaderExtras.js for r47 in late December 2011
https://github.com/mrdoob/three.js/blob/master/examples/js/ShaderExtras.js#L1390

Its ported from Martins Upitis implementation, who already has made improvements in the last months.
I hope someone tell me something that puts me to sleep again ;)
Thanks in advice