[sharing is fun] FXAA Shader

DiGiTaLFX's icon

So, I've just spent a while trying to get the FXAA GLSL shader from Horde3d (http://horde3d.org/wiki/index.php5?title=Shading_Technique_-_FXAA) to work in Jitter. Finally I managed it so thought I'd post it up and see how it worked for anyone who was interested.

The only adaptations I wasn't 100% sure about was having to change texture2D to texture2DRect which I understand has something to do with the rectangular attribute on the incoming texture?

Enjoy :)

sebastiantsiwt's icon

thank you very much. iam getting better renderings!!

Robin Price's icon

This is lush

Anthony Palomba's icon

This looks interesting, how do I test this? Can someone post an example patch?

Robin Price's icon

Just add a slab to the end of your render chain with @file fxaa.jxs after you've copied the jxs to your path. It's mainly useful (to me at least) if you're rendering geometry to videoplanes before displaying.

Wetterberg's icon

crx: it might still help others that can't "just" add these things together.

Anthony Palomba's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Okay, so I want to compare the output with and without this shader...
I am trying to render things to textures and then send them to videoplanes, but I can't get it working. Can someone please give me a hand? This is what I have so far...

Anthony Palomba's icon
Yoann's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Anthony Palomba's icon

Thanks Yoann, that definitely demonstrates the shader. Thanks!