How to add SSAO efect

Everything related to 3D programming
Wladek
User
User
Posts: 98
Joined: Mon Feb 23, 2009 4:01 pm
Location: Poland
Contact:

How to add SSAO efect

Post by Wladek »

I want add SSAO effect in my game.
Can you give me example with source ?
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: How to add SSAO efect

Post 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.
Wladek
User
User
Posts: 98
Joined: Mon Feb 23, 2009 4:01 pm
Location: Poland
Contact:

Re: How to add SSAO efect

Post by Wladek »

Can you tranaslate this to purebasic code?
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: How to add SSAO efect

Post 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
Post Reply