Pages

Sunday, July 31, 2011

Fast Approximate Anti-Aliasing (FXAA)

For the past one year, screen space anti-aliasing techniques has been receiving more research attention, mostly due to the rapid adoption of deferred lighting/shading (where MSAA is not always applicable) in modern rendering engines. The latest variant of these techniques such as MLAA, DLAA, and FXAA delivers comparable quality anti-aliasing at lower performance cost than traditional MSAA.

Since i have switched from a traditional forward renderer to a light pre-pass renderer in MageDx, FXAA seems to be the ideal anti-aliasing solution that i have been looking for.

My implementation which is based on FXAA 3.11, uses the settings FXAA_PC, FXAA_QUALITY__PRESET 20 and all input constants set to their default values. Below are 2 comparison screenshots with FXAA enabled/disabled.


Comparison of a scene with and without FXAA


FXAA works well on alphatested polygon edges

No comments: