basic SSAO

This is not the RGBA approach mentioned here viewtopic.php?f=17&t=36&p=66&hilit=ssao#p66.
Instead it’s the code by Leadwerks posted at the opengl forums opengl.org/discussion_boards … 88&fpart=1

ssao.toe (7.17 KB)
It’s got tons of problems (the black line in the background, the way curved surfaces look, …) but might come in handy for some situations

More info about SSAO at
developer.download.nvidia.com/pr … lusion.pdf
levelofdetail.wordpress.com/2008 … sao-broke/
meshula.net/wordpress/?p=145

wow cool. very useful. i think i will get into this soon

there’s also SSAO C-style pseudo source code posted at malmer.nu/
It’s supposed to be very good, but I haven’t actually seen any realtime implementation of it.