So, after searching to see how FXAA compares to MLAA speed-wise, and not finding any results, I decided to check it out for myself. Using the FXAA code from the NVIDIAs SDK 11, and Jimenez’s MLAA, the results?
FXAA (lowest setting) .833 ms
MLAA (medium settings) .049 ms + .113ms + .170ms = .332 ms (each timing is a step in the MLAA process)
I did not even compare the other settings as it seemed pointless to me, the MLAA implementation was far superior to FXAA in both speed and quality. The above numbers were gathered from PerfHUD at 1027×768 resolution in my engine. So, if you need post processing anti-aliasing, use Jimenez’s MLAA. FXAA is poor in comparison to MLAA. The only downside to MLAA is that two extra render targets of RGBA8 need to be created, so at 1024×768, i am using a whole 3.14 MB per extra render target, at 1600×1200, its 7.68 MB per extra render target. For me, the speed increase is worth the VRAM usage.
Recent Comments