Writing Image Effects
Bloom

Antialiasing

The Antialiasing as a post processing effect offers a set of algorithms designed to give a smoother appearance to graphics. When two areas of different colour adjoin in an image, the shape of the pixels can form a very distinctive “staircase” along the boundary. This effect is known as aliasing and hence antialiasing refers to any measure which reduces the effect.

The scene on the left is rendered without antialiasing while the one on the right shows the effect of the FXAA1PresetB algorithm
The scene on the left is rendered without antialiasing while the one on the right shows the effect of the FXAA1PresetB algorithm

The antialiasing algorithms are image based, which is very useful for deferred rendering where traditional multisampling (as used by Quality Settings) is not properly supported - for example, when using Deferred Shading or HDR rendering.

The algorithms currently supported are NVIDIA’s FXAA, FXAA II, FXAA III (tweakable and console optimized), simpler edge blurs (NFAA, SSAA) that blur only local edges and an adaption of the DLAA algorithm that also addresses long edges. SSAA is the fastest technique, followed by NFAA, FXAAII, FXAA II, DLAA and the the other FXAAs. Typically, the quality of antialiasing trades off against the speed of the algorithm but there may be situations where the choice of algorithm makes little difference.

For those especially interested in console deployment, the optimized FXAA III implementation offers the best tradeoff between quality and performance and can furthermore be tweaked towards sharper or blurrier looks.

As with the other image effects, you must have the Standard Assets Effects package installed before it becomes available.

Properties

Property: Function:
AA Technique The algorithm to be used.

Hardware Support

This effect requires a graphics card that supports Shader Model 3. See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.

Writing Image Effects
Bloom