
Supersampling
![]()
Calculate the value of the final color

Comparison of render scenes with and without supersampling antialiasing (left side) and with supersampling antialiasing applied (right side). (Do not apply AA means nearest neighbor interpolation).
Supersampling or SSAA (supersampling antialiasing) is a method of spatial antialiasing, that is, the method is used to eliminate aliasing (pixelated with jagged edges, colloquially “jaggies”) from the representation of images in computer games or other software. computer generating images. Aliasing occurs because you see a lot of small squares on your computer screen, unlike real objects that have continuous smooth lines and curves. All of these pixels are the same size and each is a single color. Lines can only be displayed as a collection of pixels, so they look jagged unless they are perfectly horizontal or vertical. The purpose of supersampling is to reduce this effect. Color samples are taken in various cases within one pixel (not just in the center as usual) and the average color value is calculated. This is achieved by rendering the image in a much higher position. The solution is to use additional pixels in the calculation to reduce it to the desired size than the one shown. The result is an image with a smoother transition from one pixel line to another along the edges of the downsampling object.
The number of samples determines the quality of the output.
Motivation
In the case of aliasing 2D images, it appears as follows: Moire pattern a pixelated edge the jagged effect known colloquially as “General”. Signal processing and image processing knowledge suggests achieving complete masu removal. Aliasing, appropriate spatial sampling at the Nyquist rate (or more) after applying the 2D antialiasing filter, because it requires direct and inverse direction in this approach, the Fourier transform, such as supersampling. Computational approaches were developed to avoid the change of domain remaining in the spatial domain (“image domain”).
Method
Computational cost and adaptive supersampling
Supersampling is much more time consuming and computationally expensive. Given the amount of graphics card storage and memory bandwidth, the buffers are several times larger. [1] The solution to this problem is adaptive supersampling, in which only pixels at the edges of the object are supersampled.
Initially, only a few samples are taken within each pixel. If these values are very similar, only these samples will be used to determine the color. Otherwise, more will be used. The result of this method is better performance because more samples are calculated only when necessary.




















