Page 1 of 1

How to add SSAO efect

Posted: Sat Aug 24, 2013 4:15 pm
by Wladek
I want add SSAO effect in my game.
Can you give me example with source ?

Re: How to add SSAO efect

Posted: Sun Aug 25, 2013 6:19 am
by Samuel
Hello Wladek,

What your asking for isn't a simple thing. Your going to need to use a shader.
Here's a link to one that may fit your needs.

http://www.ogre3d.org/forums/viewtopic.php?t=42350

From now on please post 3D related topics in the 3D forum section. It makes things easier for other 3D programmers to find your topics.
Thanks.

Re: How to add SSAO efect

Posted: Sun Aug 25, 2013 1:55 pm
by Wladek
Can you tranaslate this to purebasic code?

Re: How to add SSAO efect

Posted: Sun Aug 25, 2013 11:42 pm
by Samuel
Wladek wrote:Can you tranaslate this to purebasic code?
It pretty much already is. You just have to do the right calls to it.
When I have some free time I'll give it a shot. I can't give you an exact time on when I'll be done though. I've been rather busy lately.

Alexi wrote:Isn't this some kind of ambient occlusion?
Yep, SSAO is short for Screen Space Ambient Occlusion.
Here's a link if you would like to read a little about it.

http://en.wikipedia.org/wiki/Screen_spa ... _occlusion