My SSAO + SSGI prototype

AO Off, GI Off


AO Only

GI Only

AO On, GI On

All resources and source code can be download from my blog: lucanid.wordpress.com
This is a prototype only, so don’t have any optimization!

And my blog is Chinese Only, Sorry for that.:frowning:

It looks very interesting zhing!

Realy a good job!

What are performance with a more complex scene?

From his project file, it’s the SSDO technique from GPU Pro

It’s setup to be only d3d9 (presumably with ARB’s constant limitation), but if you replace the #pragma only_renderers d3d9 with #pragma glsl it will run on OpenGL. It is an expensive effect, he is running it at thirty two samples for GI, with thirty two more for the AO, which is fairly high and will produce noticeable slowdowns on even some fairly highend cards. Change the _SamplesNum constant to a lower number to cheapen the effect

The one real concern with this method is that, being sampled in screenspace, you need to maintain a camera distance proportional to the radius of the effect- it breaks down and gives some nasty artifacts if you get too close, or run it at a substantial resolution. Ideally, if it were to be expanded, a mixed resolution approach would be used, aswell as switching to a hemispherical basis (cosine weighted) to make the most of your samples.

Looking forward to what you do with it

Looks nice, first test on my pc this runs at 20fps …

Nice work… i’ll be watching this thread to see where this goes.

I can’t really see any AO effect within the last image, but that maybe just poor laptop screen… i’ll have a second look and check it out properly when I get home. Good Stuff.

Regards,
Matt.

Nice work, At first i thought…I Could live without it…Then, I Got the Final Result Image in one tab and the Beginning in another and compared the two, And it looks like i really need that, Great work, Keep it up.

Hi, now that i got my PC issues sorted out I thought first of getting this but, It’s extremely complicated to download for me, Could you please upload it to another source, like Mediafire?

EDIT: Because when i try download, Well, Apparently, 15 days, 22 hours, 55 minutes and 42 seconds, until i can download…that’s a bummer :\

great work~
i am working on this too.
but i just finished SSAO part.
your project is very helpful,thank you~
:slight_smile:

very nice!

I wish I could download this, but that Chinese site is a mess, I’ve tried every click able link on there but cant find the download link.

The link is the bottom most left green button (translation from Google Chrome is DUMP - lol).
But it doesn’t work: it asks for login…

I would like to try this stuff as well.

Upload his project here,enjoy~:smile:

521710–18481–$SSDO_Demo.zip (322 KB)

Thank you very much Dong!

A nice effect, I wonder if it can be optimized a bit though.

你好,这上面的demo链接已经失效,能够给我发一份源码吗,非常感谢!
我的邮箱是liwumao555@gmail.com

(Hello, this demo above link has failed to give me a source, Thank you very much!
My mailbox is liwumao555@gmail.com)