Types of Antialiasing Techniques

At some point when you watch video or play game on your screen you may experience blocky or pixelated edges on your screen, this impact is known as Aliasing or normally called as “jaggies”. This can be simply killed by raising your screen resolution, however as not every person has a high-end PC, there are a few techniques that can be used to reduce impact of jaggies on your screen.

Antialiasing :
It is technique that would assist you with eliminating impact of jaggies on your screen. There are various types of Antialiasing techniques and each having it’s different usage and limitations.

You can usually change your game’s graphic setting including Antialiasing in game’s settings.
Additionally, in some GPUs you can modify your PC’s Antialiasing setting from GPU’s control board.

What are Jaggies ?
The pictures that are shown on your PC screen are made out of similarly measured squares known as pixels which have their own single colour. At the point when pictures that are being shown have vertical or horizontal lines then these pixels are adjusted side to side but when a bend or corner to corner picture must be shown these pixels must be adjusted point to point which reveals their barbed edges, this impact is called “jaggies”.

A better quality equipment don’t experience this issue as it is equipped for showing picture in a higher resolution which thus has enough pixels which don’t prompts edges being appeared.



Types of Antialiasing Techniques :
Generally all Antialiasing methods can be classified into two classifications:

1. Spatial Antialiasing
2. Post Process Antialiasing 

Both, in general accomplish a similar work however in different manners.
These are explained as following below.

1. Spatial Antialiasing :
Before knowing about Antialiasing one must know about monitor resolution. Resolution is amount of pixels that a screen uses to show your picture. A decent screen must has a resolution of 1920×1080 (1920 pixels horizontally and 1080 pixels vertically) or higher.

Spatial Antialiasing is performed using following steps –

  1. A low resolution picture that has jaggies is taken.
  2. Picture is rendered into it’s high resolution structure.
  3. At high resolution, colour samples are taken from extra pixels that were absent in low resolution image.
  4. At low resolution, every pixel gets another colour which has been arrived at average of out from extra pixels.

New colour helps pixels to mix together more effectively and jaggies turns out to be less noticeable.

Spatial Antialiasing is likewise further sub-divided as follows –

  1. Super Sampling Antialiasing –
    It is also called as Full Scene Antialiasing (FSAA) is one of most effective Antialiasing strategies. It utilizes a similar method as portrayed above to arrive at it’s objective. Yet, there are drawback too of this method as it necessitates that whole picture must be handled before jaggies can be fixed and as gaming screens needs fixing in real time, SSAA needs a high registering capacity to work at such speed.

  2. Multi Sample Antialiasing (MSAA) –
    When GPU is rendering any picture it does it in two sections – polygon (shape of picture) and texture. First polygon of picture is rendered and afterward rendered texture is applied over it.



    Multi sample Antialiasing (MSAA) just fixes jaggies on polygon and texture is forgotten about. Because of this factor it requires less processing power. It is very famous among games.

CSAA and EQAA –

  • GPU producing organizations Nvidia and AMD planned these new spatial Antialiasing methods.
  • Coverage Sampling Antialiasing was developed by Nvidia.
  • Enhanced Quality Antialiasing was developed by AMD.
  • They have different names but work in same way.

Through these methods GPU examines polygon present in picture and which portions of this polygon are probably going to have jaggies. At that point it super samples just those parts. Since it doesn’t super sample entire picture, they require less capacity to run.



2. Post Process Antialiasing :
In Post Process Antialiasing (PPAA), every pixel is somewhat blurred in process of rendering. GPU decides a pixel is of different polygon if there is a distinction in their texture( two comparative pixels show that they are of same polygon). These pixels are blurred with respect to their difference.

Blurring edges is a viable technique for decreasing jaggies as edges turns out to be less observable. Post-process Antialiasing is quick and requires considerably less handling power than spatial technique.

Types of Post Process Antialiasing –

  1. Temporal Antialiasing –
    It is an extremely complicated technique that uses both Super sampling and blurring to make sharp illustrations and smooth movement.

    You’ll see signs of better pictures with TAA than you will with MLAA or FXAA, yet TAA requires much additionally computing power.

  2. Enhanced subpixel morphological Antialiasing (SMAA) –
    It is created by Jorge Jimenez. It joins both Spatial and Post process Antialiasing procedures. It smooths pixels utilizing equivalent blurring technique that MLAA and FXAA use, yet it likewise utilizes Super sampling to hone whole picture.

MLAA and FXAA :

  • MLAA and FXAA are two Post Process Antialiasing methods made by Nvidia and AMD.
  • Morphological Antialiasing (MLAA) is created by AMD.
  • Fast Approximate Antialiasing (FXAA) is created by Nvidia.

Two strategies works similarly as depicted previously. These are most well known of all Anti associating strategies but it make picture a little blurry. They require less computing power.

Which is best Antialiasing Technique ?
Well there is no best method for Antialiasing. Best technique to keep away from jaggies is that you utilize a very good quality equipment.
In any case, on off chance that you are thinking about what methods to pick and when at that point –

  • In the event that you are utilizing Low-end equipment, at that point you should think about SMAA or CSAA.
  • In the event that you are utilizing Medium-end equipment, at that point you should think about SMAA/MSAA or MLAA/FXAA.
  • In the event that you are utilizing High-end equipment, at that point you should seriously about TAA/SSAA or MSAA.
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.