FXAAPass class
Basic usage
The FXAAPass lets you easily add a Fast Approximate Anti-Aliasing pass to your scene.
The FXAAPass class extends the ShaderPass class, inheriting from all its methods and properties.
The fragment shader code used for that FXAA pass has been taken from here:
https://github.com/spite/Wagner/blob/master/fragment-shaders/fxaa-fs.glsl
To create a FXAAPass, just use its constructor:
Parameters
To create a FXAAPass you will have to pass your curtains object as the first parameter.
You can add an additional parameter object in which you can pass the following ShaderPass parameters options: clear, depth, depthTest, renderOrder, renderTarget, texturesOptions.