Game Development Community

[BUG 1.0]SSAO and attack of the fuzzies

by Joshua Halls (Xerves) · in Torque 3D Professional · 09/29/2009 (4:20 am) · 10 replies

In the desert level when you turn on SSAO it must be turned down to look bad mode or something. Rather distracting and doesn't add much the way it is setup out of the box.

About the author

Part of the team that works on The Repopulation, a SciFi based MMO using a heavily modified version of the Torque MMO Kit - T3D. I also take care of the T3D version of the Torque MMO Kit.


#1
09/29/2009 (1:57 pm)
Yeah, it actually IS setup for look bad mode because on max settings it eats a lot of GPU fillrate and we didn't want to be doing that by-default without people knowing were it was going.

Two things you can do to "crank up" the SSAO quality.

SSAOPostFx.targetSize = "1 1";
$SSAOPostFx::quality = 2;

Also useful...

SSAOVizPostFx.toggle();
SSAOPostFx.inspectVars();

#2
09/29/2009 (3:46 pm)
Sounds good James. Did you have any plans in the future to modify the options menu to add in a few sliders and adjustments for a few of these settings? We have been adding them in as we find them, but I am sure it would help out and give people a good idea on what they can expect from the low/high settings on some of these options.
#3
09/29/2009 (4:08 pm)
We do have plans to do a pretty in-depth cleanup/enhancement pass on the Options Dialog.
#4
09/29/2009 (5:02 pm)
wow, I thought it was just me!!
and the depth of field is very headache inducing too.
#5
09/29/2009 (5:15 pm)
Just a note putting in those 2 values pretty much makes the zone start to whack out. It flickers and the area underneath that connecting beam goes totally black. Changing just the quality doesn't do a ton either as it is still rather grainy looking.
#6
09/30/2009 (5:33 pm)
Here are some replacement files that should make SSAO look a lot better. Password is torque3d11.

If performance is a problem you can adjust down $SSAOPostFx::targetSize to something less that "1 1".

- Edit -

noise.png and ssao.cs go in: core/scripts/client/postFx
SSAO_P.hlsl and SSAO_Blur_V.hlsl go in: shaders/common/postFx/ssao
#7
09/30/2009 (5:43 pm)
Thanks James, will plug that in here in a second.
#8
09/30/2009 (7:25 pm)
Quote:
If performance is a problem you can adjust down $SSAOPostFx::targetSize to something less that "1 1".

80fps -> 4fps *Cough* - yep, that ain't 7series friendly!
#9
09/30/2009 (9:15 pm)
Yeah, that looks about 100x better. Thanks
#10
09/30/2009 (9:31 pm)
Steve try this.

$SSAOPostFx::targetScale = "0.2 0.2";

Gives a pretty noticeable effect and it isn't smacking me around too hard either.