Phong versus Screen-Space Ambient Occlusion (with source code)

Started by
18 comments, last by taby 8 years, 4 months ago

Attached are some OpenGL renders, Phong verses SSAO. The SSAO code was provided by the authors of The Blue Book (http://www.openglsuperbible.com/).

Which do you like better?

Advertisement
The first one (I'm assuming it's Phong) looks better, but why not combine both?

PS: Dat Windows Live Messenger tho...

The first one (I'm assuming it's Phong) looks better, but why not combine both?

PS: Dat Windows Live Messenger tho...

Thanks for your opinion. Yes, it would look good combined.

¿Porque no los dos?

Multiply them together :)
¿Porque no los dos?

Hey, spanish guy !

Multiply them together

We have to say it's not physically correct to multiply them because it's an ambient value but it's the common trick to multiply after the lighting.
That will result to have the ambient occlusion visible even if the zone is lighted but it's an artistic value.


We have to say it's not physically correct to multiply them because it's an ambient value but it's the common trick to multiply after the lighting.
That will result to have the ambient occlusion visible even if the zone is lighted but it's an artistic value.

Yeah but nothing about SSAO is physically correct, it's an aesthetic hack. What we want is hemispherical occlusion applied to a GI light contribution, but here in the real world...

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

I'll give it a shot. You're welcome to help. SSAO is a beautiful tool; is a GPU hog.


We have to say it's not physically correct to multiply them because it's an ambient value but it's the common trick to multiply after the lighting.
That will result to have the ambient occlusion visible even if the zone is lighted but it's an artistic value.

Yeah but nothing about SSAO is physically correct, it's an aesthetic hack. What we want is hemispherical occlusion applied to a GI light contribution, but here in the real world...

Was gonna say this. AO is a hack, SSAO is a hack of a hack.

I quite like the one on the right. I think the highlights look better on the left but the darker areas look better on the right. Which I suppose is their respective strengths. The right one makes the various features stand out more in my opinion.

Interested in Fractals? Check out my App, Fractal Scout, free on the Google Play store.

Here's an orange version of the SSAO.

This topic is closed to new replies.

Advertisement