Adjusting Full Screen Anti-Aliasing (FSAA)
by Thomas Phillips · in Torque Game Engine · 09/01/2006 (10:04 pm) · 3 replies
I haven't been able to find any documentation that states explicitly how to adjust FSAA. I did find a line (835) in engine/dgl/dgl.cc stating:
S32 gFSAASamples = 1; ///< 1==no FSAA.
Can I expect FSAA to automatically kick in if I set this to something like 4, 16, etc.? If this is the case, does anyone know what kinds of performance hits I may get, or what kind of failures I might expect on lower end video cards?
Tom
S32 gFSAASamples = 1; ///< 1==no FSAA.
Can I expect FSAA to automatically kick in if I set this to something like 4, 16, etc.? If this is the case, does anyone know what kinds of performance hits I may get, or what kind of failures I might expect on lower end video cards?
Tom
#2
You can set the anti-aliasing on your video-card settings manually (by default they are generally set to 'application managed') and see what sort of performance hit you get in game..
09/01/2006 (11:18 pm)
I have a feeling the gFSAASamples variable is only used on mac builds of torque (it is only found in platformMacCarb/macCarbGL.cc besides dgl.cc), so I don't think it would have any impact on windows/linux.You can set the anti-aliasing on your video-card settings manually (by default they are generally set to 'application managed') and see what sort of performance hit you get in game..
#3
Tom
09/03/2006 (1:50 pm)
Thanks for the replies. As I have looked into it more, it seems there may be a technical issue with Direct3D9 and FSAA. I found a technical report (http://download.nvidia.com/developer/SDK/Individual_Samples/DEMOS/Direct3D9/src/AntiAliasingWithPostProcessing/docs/AntiAliasingWithPostProcessing.pdf#search=%22antialiasing%20with%20Post-processing%22) talking about rendering straight to render-target textures (RTT), which ultimately interferes with FSAA. I'm not sure why this would be a problem with TGE, but I'm certainly no expert on the graphics pipeline.Tom
Associate Orion Elenzil
Real Life Plus
i'm not sure about 1.4, but in TGE 1.3 i think FSAA is only supported on Mac.
there's some discussion in this thread: link.
please post if you find otherwise !