v002 FXAA

vade's picture

Hi

I made a quick 30 minute evening project porting NVidias FXAA post process Anti-aliasing shader to QC, as a plugin.

http://v002.info/downloads/beta/v002%20FXAA.zip

This plugin will let you remove jaggies from an image render with RII. This AA method is single pass, single buffer, requiring only the input image. It uses some simple morphology to do rather effective (and fast!) AA on images.

This is a great alternative to using MSAA, and should save you cycles, and save you from having to use hacks like Super Sampling you RII, etc.

Enjoy. Beta for now.

vade's picture
Re: v002 FXAA

And remember, this works on images, so you can AA just about anything:

PreviewAttachmentSize
Before.png
Before.png186.7 KB
After.png
After.png182.21 KB
Glitch Before.png
Glitch Before.png430.94 KB
Glitch After.png
Glitch After.png770.28 KB

jersmi's picture
Re: v002 FXAA

effing rad!

cybero's picture
Smooth

Smooth - like very smooth. Thank you for sharing this vade.

cwright's picture
Re: v002 FXAA

Any reason why this is a plugin instead of just some source in a GLSL shader macro? (assuming the .vert and .frag source in the bundle is what you're using)

vade's picture
Re: v002 FXAA

Distribution, ease of re-use, protecting people from themselves, outputting an image (RII can be oddly slow vs internal render to texture). But basically because it's easier for me.

Venom Design's picture
Re: v002 FXAA

nice man. thanks

franz's picture
Re: v002 FXAA

I love you !

clarknova's picture
Re: v002 FXAA

looks really nice!

But when I try this with a 1024_GL_Circle in a Render In Image, a white rect appears on the viewer.

Anny idea?it would be so nice to have this...

meeble's picture
Re: v002 FXAA

how would I use this as a QCFX plugin in VDMX?

thanks!