[sharing is fun] FXAA Shader

Feb 15, 2013 at 12:10am

[sharing is fun] FXAA Shader

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.

http://digitalfx.me.uk/max/FXAA.zip

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 :)

#66510
Feb 19, 2013 at 4:17am

thank you very much. iam getting better renderings!!

#239388
Jul 23, 2013 at 8:54am

This is lush

#256913
Jul 23, 2013 at 9:40am

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

#256917
Jul 23, 2013 at 11:34am

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.

#256943
Jul 23, 2013 at 11:43am

crx: it might still help others that can’t “just” add these things together.

#256946
Jul 26, 2013 at 3:37pm

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…

<code>

– Pasted Max Patch, click to expand. –

</code>

#257258
Jul 29, 2013 at 10:50am

Anyone?

#257499
Jul 29, 2013 at 12:36pm

<code>

– Pasted Max Patch, click to expand. –

</code>

#257514
Jul 29, 2013 at 4:01pm

Thanks Yoann, that definitely demonstrates the shader. Thanks!

#257547

You must be logged in to reply to this topic.