Tutorials

Max and OpenGL: Anti-aliasing with FXAA

Rendering an OpenGL scene to a texture (RTT) offers many advantages to refine the look of your output, however it comes at the cost of losing hardware anti-aliasing (eg @fsaa 1 has no effect on jit.window output).

Fortunately, there is an easy solution. Simply pass the final output texture through an FXAA shader.

The patch shown below demonstrates this technique.

Downsample

If you're still not satisfied with the AA, you can refine further by rendering your scene to a texture at double resolution, and downsampling using filtering before applying the FXAA.

by Rob Ramirez on October 25, 2013