SSAO is now back…


and easier to use!

The small debug output windows are the SSAO before and after the blur process. I’ve made this a lot simpler to use as well. So, in your Game class, you can turn on SSAO with the following code:

SSAORenderer.Enabled = true;

There are two more properties that are now available in the SSAORenderer class. There are:

SSAORenderer.DistanceScale
SSAORenderer.SampleRadius

Set these values to get your desired look, and that’s it. The SSAORenderer is disabled by default, so you’ll have to enable it if you want to use it. Sourcecode available at Codeplex, changeset 15588.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s