Jump to content
  • Advertisement
Sign in to follow this  
MathuSum Mut

FXAA parameter confusion

This topic is 978 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a question about the popular FXAA shaders that are out there written using GLSL or HLSL, such as:

https://github.com/mattdesl/glsl-fxaa/blob/master/fxaa.glsl

They mainly feature these three parameters:

#define FXAA_REDUCE_MIN (1.0 / 128.0) //0.0078125
#define FXAA_REDUCE_MUL (1.0 / 8.0) //0.125
#define FXAA_SPAN_MAX 8.0

I looked all over the Internet, but could not find a proper explanation about the function of each parameter. Can anyone help?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!