PDA

View Full Version : An up-to-date description of FXAA?



raga34
10-31-2014, 12:04 PM
Hi.

I'm implementing FXAA, and in typical style for an algorithm that everyone and his dog has implemented, the available information on the algorithm seems to be pitiful.

There's the original whitepaper:

https://developer.nvidia.com/sites/default/files/akamai/gamedev/files/sdk/11/FXAA_WhitePaper.pdf

There's a presentation on the 3.11 version of the algorithm (presumably the most recent), that's so vague as to be pretty useless:

http://iryoku.com/aacourse/downloads/09-FXAA-3.11-in-15-Slides.pptx

The author maintains a blog, and apparently decided it was in the best interests of the internet to delete all of his posts on the algorithm years back.

There are multiple implementations:

https://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/core-data/Common/MatDefs/Post/FXAA.frag?r=8849

http://www.leadwerks.com/werkspace/topic/3898-fxaa-311/

... both of which only seem to have a passing resemblance to the algorithm described in the original whitepaper.

Does anyone have a detailed and up-to-date description of the current algorithm? I'm interested in doing a clean room implementation, not copying and pasting stuff I found online. An 800 line header file full of '#ifdefs doesn't qualify!