Skip to main content

Digital Foundry: The Future of Anti-Aliasing

Cutting edges.

FXAA is already gathering plenty of support, with earlier versions of the technique having been implemented in Crysis 2 and Duke Nukem Forever, both on PC. Indie developer Keith Judge, who previously worked on games including Burnout titles Revenge and Paradise, and the Xbox 360 Fable titles, is currently implementing FXAA into his debut, so far unannounced PC title. He's really impressed with the technique's impact on his game.

"The main reason I prefer it over MSAA is that it makes deferred rendering simpler, even though MSAA can achieve better quality with enough samples, especially on long nearly horizontal/vertical edges," he says.

"I'm using DX11 which - in theory - fixed those issues as you can gather individual MSAA colour/depth samples within the shader when lighting, but I want to support as wide a range of hardware as possible using the DX11 feature levels system (for example, my DX10 GeForce 8800, which can't do that) so MSAA is out. I might have used MLAA, but the quality isn't as good - there's a lot of aliasing with sub-pixel features, especially in motion as you've noticed on some of your PS3 tech analyses."

What MLAA and FXAA have in common is that they are post-process filters. They only look at the image being processed as a flat, 2D framebuffer – the final image you see beamed to the HDTV (though generally speaking, processing before the HUD is added is a very good idea). It is the key to the speed and resource-light advantages of both techniques - and good for us, because we can simply apply the filters to pre-existing video captures to demonstrate before and after comparisons. However, in-game it can cause artifacts too, and actually emphasises sub-pixel edges for the reasons Alex Fry mentioned earlier. The cityscapes in Killzone 3 and Shift 2, and the MotorStorm Apocalypse intro, are good examples of the issues you simply wouldn't get with a traditional multi-sampling approach.

Enslaved, Castlevania and Need for Speed: Hot Pursuit (PC version) are processed with FXAA (console) in this comparison video. Note that this is as much about testing for sub-pixel 'noise' as it is about edge-smoothing. Use the full-screen button on the player for 720p resolution.

"Common to all anti-aliasing filters out there, if you are working at final display resolution (1x), pixel-popping is going to happen sooner or later," explains Team Jimenez.

"You can try attenuating or eliminating 'spurious' pixels, but we think that this is not the optimum solution since it doesn't tackle the root of the problem: sub-sampling. As we said before, we're really conservative with the image, so we avoid introducing additional steps that don't always work, and so they can negatively affect temporal coherence."

As you'll see in our test footage, the difference between FXAA and Jimenez MLAA is quite remarkable. Both smooth the jaggies, but Jimenez MLAA appears to apply a much lighter touch to the overall image quality than what we've seen in other implementations. If you want to retain pin-sharp quality but benefit from superb edge-smoothing, the MLAA solution does indeed look fantastic. For its part, FXAA can perform wonders with "noisy", high-frequency images. Need for Speed: Hot Pursuit and Enslaved in particular fare very well indeed, giving that "filmic" look Timothy Lottes describes to the entire scene.

What we have in this case are two very different solutions, perhaps suited to different aesthetic looks. However, as Lottes says, FXAA console is considerably less resource-intensive, operating at around 1ms on Xbox 360, while Jimenez MLAA is currently at 2.4ms (earlier estimates at the 1.3ms range proved to be inaccurate) though the team reckons that this can be brought down with further optimisation efforts.

However, the fact that the post-process filters are simply addressing a final, rendered image will always present some disadvantages. This is perhaps most dramatically demonstrated by checking out this video of the Far Cry 2 benchmarking run on PC. Here we've run Jimenez MLAA and FXAA console through the base "no AA" video, then re-run the tests with increasingly higher MSAA levels. Note the amount of vegetation in the scene: a mass of sub-pixel detailing that becomes progressively better filtered the higher the level of multi-sampled anti-aliasing. This kind of processing simply can't be match by any real-time post processing filter. The test itself may be considered rather extreme, but it does demonstrate how multi-sampling makes a big difference.

"We think the next step involves hybrid approaches combining MSAA (with low sample counts) with filter-based anti-aliasing techniques," says the Jimenez MLAA team.

"This would allow having a good trade-off between sub-pixel features, smooth gradients and low processing time."

Timothy Lottes has been doing some experiments of his own involving super-sampling working in concert with FXAA. Super-sampling is pretty much the best form of anti-aliasing you can get: rendering an image internally at a much higher resolution then downscaling to the output framebuffer: the higher the internal resolution, the better the downscaled result. According to Lottes, the resolution needn't be that much higher if FXAA is introduced into the equation.

"Applying FXAA before downscaling and averaging samples increases the quality of super-sampling, and with FXAA, fractional super-sampling works quite well: even when rendering only 1.7 times the number of pixels," he explains.

"This enables the common deferred shading based game engine to transparently scale pixel quality along with GPU performance without going through the complexity of adding the variable rate shading required with hardware multi-sampling to maintain performance. An exciting real-world application would be for a game to limit itself to 60Hz on the PC but use the left-over GPU processing power to increase pixel quality using dynamic fractional super-sampling with FXAA."

Another set of post process anti-aliasing comparison screenshots. Once again we have the original image along with MLAA, FXAA (console) and FXAA Quality (PC) screens.
seductrice.net
universo-virtual.com
buytrendz.net
thisforall.net
benchpressgains.com
qthzb.com
mindhunter9.com
dwjqp1.com
secure-signup.net
ahaayy.com
tressesindia.com
puresybian.com
krpano-chs.com
cre8workshop.com
hdkino.org
peixun021.com
qz786.com
utahperformingartscenter.org
worldqrmconference.com
shangyuwh.com
eejssdfsdfdfjsd.com
playminecraftfreeonline.com
trekvietnamtour.com
your-business-articles.com
essaywritingservice10.com
hindusamaaj.com
joggingvideo.com
wandercoups.com
wormblaster.net
tongchengchuyange0004.com
internetknowing.com
breachurch.com
peachesnginburlesque.com
dataarchitectoo.com
clientfunnelformula.com
30pps.com
cherylroll.com
ks2252.com
prowp.net
webmanicura.com
sofietsshotel.com
facetorch.com
nylawyerreview.com
apapromotions.com
shareparelli.com
goeaglepointe.com
thegreenmanpubphuket.com
karotorossian.com
publicsensor.com
taiwandefence.com
epcsur.com
mfhoudan.com
southstills.com
tvtv98.com
thewellington-hotel.com
bccaipiao.com
colectoresindustrialesgs.com
shenanddcg.com
capriartfilmfestival.com
replicabreitlingsale.com
thaiamarinnewtoncorner.com
gkmcww.com
mbnkbj.com
andrewbrennandesign.com
cod54.com
luobinzhang.com
faithfirst.net
zjyc28.com
tongchengjinyeyouyue0004.com
nhuan6.com
kftz5k.com
oldgardensflowers.com
lightupthefloor.com
bahamamamas-stjohns.com
ly2818.com
905onthebay.com
fonemenu.com
notanothermovie.com
ukrainehighclassescort.com
meincmagazine.com
av-5858.com
yallerdawg.com
donkeythemovie.com
corporatehospitalitygroup.com
boboyy88.com
miteinander-lernen.com
dannayconsulting.com
officialtomsshoesoutletstore.com
forsale-amoxil-amoxicillin.net
generictadalafil-canada.net
guitarlessonseastlondon.com
lesliesrestaurants.com
mattyno9.com
nri-homeloans.com
rtgvisas-qatar.com
salbutamolventolinonline.net
sportsinjuries.info
wedsna.com
rgkntk.com
bkkmarketplace.com
zxqcwx.com
breakupprogram.com
boxcardc.com
unblockyoutubeindonesia.com
fabulousbookmark.com
beat-the.com
guatemala-sailfishing-vacations-charters.com
magie-marketing.com
kingstonliteracy.com
guitaraffinity.com
eurelookinggoodapparel.com
howtolosecheekfat.net
marioncma.org
oliviadavismusic.com
shantelcampbellrealestate.com
shopleborn13.com
topindiafree.com
v-visitors.net
djjky.com
053hh.com
originbluei.com
baucishotel.com
33kkn.com
intrinsiqresearch.com
mariaescort-kiev.com
mymaguk.com
sponsored4u.com
crimsonclass.com
bataillenavale.com
searchtile.com
ze-stribrnych-struh.com
zenithalhype.com
modalpkv.com
bouisset-lafforgue.com
useupload.com
37r.net
autoankauf-muenster.com
bantinbongda.net
bilgius.com
brabustermagazine.com
indigrow.org
miicrosofts.net
mysmiletravel.com
selinasims.com
spellcubesapp.com
usa-faction.com
hypoallergenicdogsnames.com
dailyupdatez.com
foodphotographyreviews.com
cricutcom-setup.com
chprowebdesign.com
katyrealty-kanepa.com
tasramar.com
bilgipinari.org
four-am.com
indiarepublicday.com
inquick-enbooks.com
iracmpi.com
kakaschoenen.com
lsm99flash.com
nana1255.com
ngen-niagara.com
technwzs.com
virtualonlinecasino1345.com
wallpapertop.net
casino-natali.com
iprofit-internet.com
denochemexicana.com
eventhalfkg.com
medcon-taiwan.com
life-himawari.com
myriamshomes.com
nightmarevue.com
healthandfitnesslives.com
androidnews-jp.com
allstarsru.com
bestofthebuckeyestate.com
bestofthefirststate.com
bestwireless7.com
britsmile.com
declarationintermittent.com
findhereall.com
jingyou888.com
lsm99deal.com
lsm99galaxy.com
moozatech.com
nuagh.com
patliyo.com
philomenamagikz.net
rckouba.net
saturnunipessoallda.com
tallahasseefrolics.com
thematurehardcore.net
totalenvironment-inthatquietearth.com
velislavakaymakanova.com
vermontenergetic.com
kakakpintar.com
jerusalemdispatch.com
begorgeouslady.com
1800birks4u.com
2wheelstogo.com
6strip4you.com
bigdata-world.net
emailandco.net
gacapal.com
jharpost.com
krishnaastro.com
lsm99credit.com
mascalzonicampani.com
sitemapxml.org
thecityslums.net
topagh.com
flairnetwebdesign.com
rajasthancarservices.com
bangkaeair.com
beneventocoupon.com
noternet.org
oqtive.com
smilebrightrx.com
decollage-etiquette.com
1millionbestdownloads.com
7658.info
bidbass.com
devlopworldtech.com
digitalmarketingrajkot.com
fluginfo.net
naqlafshk.com
passion-decouverte.com
playsirius.com
spacceleratorintl.com
stikyballs.com
top10way.com
yokidsyogurt.com
zszyhl.com
16firthcrescent.com
abogadolaboralistamd.com
apk2wap.com
aromacremeria.com
banparacard.com
bosmanraws.com
businessproviderblog.com
caltonosa.com
calvaryrevivalchurch.org
chastenedsoulwithabrokenheart.com
cheminotsgardcevennes.com
cooksspot.com
cqxzpt.com
deesywig.com
deltacartoonmaps.com
despixelsetdeshommes.com
duocoracaobrasileiro.com
fareshopbd.com
goodpainspills.com
hemendekor.com
kobisitecdn.com
makaigoods.com
mgs1454.com
piccadillyresidences.com
radiolaondafresca.com
rubendorf.com
searchengineimprov.com
sellmyhrvahome.com
shugahouseessentials.com
sonihullquad.com
subtractkilos.com
valeriekelmansky.com
vipasdigitalmarketing.com
voolivrerj.com
worldhealthstory.com
zeelonggroup.com
1015southrockhill.com
10x10b.com
111-online-casinos.com
191cb.com
3665arpentunitd.com
aitesonics.com
bag-shokunin.com
brightotech.com
communication-digitale-services.com
covoakland.org
dariaprimapack.com
freefortniteaccountss.com
gatebizglobal.com
global1entertainmentnews.com
greatytene.com
hiroshiwakita.com
iktodaypk.com
jahatsakong.com
meadowbrookgolfgroup.com
newsbharati.net
platinumstudiosdesign.com
slotxogamesplay.com
strikestaruk.com
techguroh.com
trucosdefortnite.com
ufabetrune.com
weddedtowhitmore.com
12940brycecanyonunitb.com
1311dietrichoaks.com
2monarchtraceunit303.com
601legendhill.com
850elaine.com
adieusolasomade.com
andora-ke.com
bestslotxogames.com
cannagomcallen.com
endlesslyhot.com
iestpjva.com
ouqprint.com
pwmaplefest.com
qtylmr.com
rb88betting.com
buscadogues.com
1007macfm.com
born-wild.com
growthinvests.com
promocode-casino.com
proyectogalgoargentina.com
wbthompson-art.com
whitemountainwheels.com
7thavehvl.com
developmethis.com
funkydogbowties.com
travelodgegrandjunction.com
gao-town.com
globalmarketsuite.com
blogshippo.com
hdbka.com
proboards67.com
outletonline-michaelkors.com
kalkis-research.com
thuthuatit.net
buckcash.com
hollistercanada.com
docterror.com
asadart.com
vmayke.org
erwincomputers.com
dirimart.org
okkii.com
loteriasdecehegin.com
mountanalog.com
healingtaobritain.com
ttxmonitor.com
nwordpress.com
11bolabonanza.com