POPPUR爱换

标题: FXAA 4.0 的最新开发进度,这次是 Spatial-Only 算法的对比! [打印本页]

作者: Edison    时间: 2011-12-27 22:20
标题: FXAA 4.0 的最新开发进度,这次是 Spatial-Only 算法的对比!
The Spatial-Only Algorithm

Most of the heavy R&D is over and the result is a new spatial-only algorithm for FXAA 4.0. Note, the only reason this algorithm exists is because it is also the base for the temporal algorithm. The spatial-only algorithm lives somewhere around FXAA 3.11 PC at a medium quality setting, but at the perf a little above FXAA 3.11 Console. Have not profiled yet, so do not actually know.

The aim here is performance for huge resolution rendering or super-sampling. The spatial-only FXAA can also resize just like the temporal version (but lower quality), and it will also support in-line super-sample down-sampling, taking 2 or more FXAA filtered results per output pixel to support ultra high quality in one pass. Super-sample stills will need to wait until another post.

However, !/$ the spatial+temporal solution is the way to go, easily 4x higher quality for nearly same cost.


Spatial-Only Algorithm Enlarge + Sharpen

Similar to the interjection mods, added a built-in classic "halo-ing" sharpen into FXAA 4.0. Below is an example enlarging and sharpening (set at a very subtle 50%) with the spatial-only algorithm. The sharpening can amplify edge noise, EDIT: edge noise and poor quality in the shot below is a result of me using the settings for native resolution instead of the correct settings for enlarging (oops it was 4 am),

[attach]1730093[/attach]

Another example this time with a really fail case for bilinear resize, and sharpness turned up,

[attach]1730098[/attach]

Spatial-Only Algorithm Sharpen Without Resize

With the early exit off and edge detection off, setting sharpening to 100% will maintain detail even when the algorithm filters highly detailed textures,

[attach]1730092[/attach]

Spatial-Only Algorithm Sharpen Over MSAA

The algorithm plays nice over MSAA even when sharpening is set to 100%,

[attach]1730096[/attach]

AA at Different Scales

As a side effect of the algorithm functioning when non-pixel aligned, apparently the algorithm can sometimes anti-alias in blurred content. For instance, the left below is the source shot, where the red arrow marks aliasing caused by bilinear upsample of downsampled DOF. The right is the FXAA 4.0 spatial-only algorithm with the early exit removed and sharpening turned off (note the notches got removed),

[attach]1730095[/attach]

Here is another example,
[attach]1730094[/attach]


作者: SnakeLee    时间: 2011-12-27 23:37
NV迟迟不放新驱和这个FXAA的进度方面是否有联系呢?
作者: amdxp4800    时间: 2011-12-27 23:39
期待 在天际里 SMAA比FXAA效果更好




欢迎光临 POPPUR爱换 (https://we.poppur.com/) Powered by Discuz! X3.4