Jump to content
LordHippo

My SSAO Implementation

Recommended Posts

Thank you all for your support smile.png

 

I've decided to follow my boss orders! mellow.png

 

The reason is that game development community is really small in Iran.

So if I start a fight, and get a bad reputation, I will be in trouble someday.

 

But I'll follow Dozz's instruction and write a blog post about this SSAO.

And I think it would be really easy for Josh or someone with some shader knowledge, to write it himself.

Share this post


Link to post
Share on other sites

It wasn't meant as an instruction, more as a hopeful maybe…and a greedy I want it :P A blog would be a great thing and you are wise to keep that job despite what I wrote, which was a bit out of order but kinda reflected my views of my current employer. It's all turning out good in the end. Thanks

Share this post


Link to post
Share on other sites

It wasn't meant as an instruction, more as a hopeful maybe…and a greedy I want it tongue.png A blog would be a great thing and you are wise to keep that job despite what I wrote, which was a bit out of order but kinda reflected my views of my current employer. It's all turning out good in the end. Thanks

 

My bad, I meant "advice". I have a really bad headache and used a wrong word! wacko.png

I'll write the post as soon as I get better smile.png

Share this post


Link to post
Share on other sites

My bad, I meant "advice". I have a really bad headache and used a wrong word! wacko.png

I'll write the post as soon as I get better smile.png

Get better soon! You can do it ;)

Can't wait.

Share this post


Link to post
Share on other sites

Approved by LordHippo: Here are some comparison shots of with/without Crysis' SSAO (not his version (sadly)).

I think it shows the difference quite well. smile.png

 

post-28-0-33724700-1327635795_thumb.jpg

Share this post


Link to post
Share on other sites

Ah those are great examples. I can see now that it helps things not get washed out. Very nice Lazlo!

Share this post


Link to post
Share on other sites

Incidentally, the reason Crysis SSAO tends to shade object faces for no reason is that because Crysis is a forward renderer, they have no access to screen normals data in the post processing pass. That's why Lord Hippo's SSAO looks better.

Share this post


Link to post
Share on other sites

Incidentally, the reason Crysis SSAO tends to shade object faces for no reason is that because Crysis is a forward renderer, they have no access to screen normals data in the post processing pass. That's why Lord Hippo's SSAO looks better.

 

Somehow disagreed.

That's known as "self occlusion" problem. Though they also didn't fixed it in Crysis2 (which is a deferred renderer).

Cause they've mentioned that they kinda like this side effect and did nothing to fix it.

 

 

Actually there are some SSAOs out there that don't use normals (just the depth buffer) and don't have this problem.

Best examples are Battlefield3's SSAO (not HBAO), ToyStory3 (one of the best SSAOs I've ever seen!), Uncharted2 and lot more.

Share this post


Link to post
Share on other sites

Somehow disagreed.

That's known as "self occlusion" problem. Though they also didn't fixed it in Crysis2 (which is a deferred renderer).

Cause they've mentioned that they kinda like this side effect and did nothing to fix it.

 

 

Actually there are some SSAOs out there that don't use normals (just the depth buffer) and don't have this problem.

Best examples are Battlefield3's SSAO (not HBAO), ToyStory3 (one of the best SSAOs I've ever seen!), Uncharted2 and lot more.

I experienced this in pure depth-calculated approaches because there was no way to know whether the face was angled, or if it was on an edge with another pixel next to it, further back in the depth buffer.

Share this post


Link to post
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.

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.


×
×
  • Create New...