Legacy Documentation: Version 4.6
Language: English
Image Effect Reference
Bloom

Antialiasing (PostEffect)

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

The Antialiasing (PostEffect) 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 cube on the left is rendered without antialiasing while the one on the right shows the effect of the FXAA1PresetB algorithm
The cube 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 is not properly supported. 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 FXAA’s. 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, this effect is only available in Unity Pro and you must have the Pro Standard Assets 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.

Image Effect Reference
Bloom