In sampling rate technique, an increase in the amount of the sample rate in a pixel is used to decide the color of the pixel based on samples. This includes techniques, such as Super Sample Anti-aliasing (SSAA), Multi Sample Anti-aliasing (MSAA), Coverage Sampling Anti-aliasing (CSAA), which is usually driven on GPU hardware.
This section is a bit different from the rest of the How to do it... sections that we followed in the chapters. In this, we will discuss the various sampling rate techniques mentioned previously and the procedural difference between each of them. Let's discuss them in detail.
Super Sample Anti-aliasing (SSAA): This technique is also known as Full-Scene Anti-Aliasing (FSAA). Here, the scene is first rendered to higher resolution and then downsampled to its original resolution by taking the average of its neighboring pixels. For example, if a given scene needs to be rendered to a resolution of 1920 x 1080, it's first...