Jump to content

How to use SSAO shader


SlipperyBrick
 Share

Recommended Posts

I am more than likely doing something wrong.

 

I am applying the SSAO.shader to my ROOT in my scene but everything shows up black and white. When I add the SSAO.lua though it seems to be less intense but everything is still in black and white.

 

utp4Vc2.png

 

I don't know if my layer stack is correct though if I add SSAO.lua on top of the shader it seems to make things go a lot more crazy.

 

PdWdnFg.png

 

Would love to know how to use this haha. Like I say it is probably something I am doing wrong. Does the shader need editing or the lua file that comes with the shader?

Link to comment
Share on other sites

Awesome thanks Shadmar!

 

I was doing some reading on Ambient Occlusion and I saw this interesting tutorial on how to do AO the way they do it in Crysis. Might come useful to someone who knows how to write shaders. The results look great in the tutorial and it sounds like a pretty efficient way.

 

http://john-chapman-graphics.blogspot.co.uk/2013/01/ssao-tutorial.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...