Copyright Hé - License GPL

What is Anti Aliasing and Antialiasing: FXAA, SMAA, MSAA, SSAA, TXAA

Gaming and Games   2020-12-24 15:05:53

Image quality plays an essential role in games and virtual reality (VR) as it affects comfort and the duration of a game session. To improve rendering and image quality, an anti-aliasing technique that we can translate as antialiasing exists. We can therefore be confronted with these terms when we need to optimize the settings of the display and the graphics card. The article discusses the concept of aliasing, types of aliasing and anti-aliasing algorithms (AA algorithms). Table ofcontents 1 What is Aliasing and Aliasing 2 Anti-Aliasing and Anti-Aliasing: FXAA, SMAA, MSAA, SSAA, TXAA 2.1 FXAA (Fast Approximate Anti-Aliasing) 2.2 TAA 2.3 SMAA 2.4 MSAA and SSAA 2.5 TXAA 3 Comparative, which Anti-Aliasing to choose? 4 Links 5 What is Aliasing and Aliasing Aliasing or Aliasing in English is a visual phenomenon which is characterized by stair-shaped patterns on the oblique contours of the drawings. We can then also speak of " staircase effect. This phenomenon appears when there is a strong contrast on contours or lines. This effect can be expressed by a sharp transition between pixels, groups of pixels or frames. The edges of a lvector files must be pixelated and converted to a bitmap image. If you convert binary (black and white: where there is no letter - white, where there is a letter - black) you will get the version on the left. If you don"t pixelate binary, each pixel will receive a certain percentage of black. This is even more true on devices that can only display two values ​​(dark or light) such as liquid crystal displays or LCD . Newer screens are less prone to these escalation issues. In a static image, aliasing is visible on the boundaries of objects, polygons - anywhere, where there is a sharp edge. If a screen has a high resolution, alStatic aliasing doesn "t bring much discomfort. So in many PC games it is not given enough attention. However, in the dynamics, the situation changes. VR games with headsets where the viewing area is even more prone to aliasing. In addition, VR headsets are not in a static position which accentuates the phenomenon even more. To fight against aliasing problems, different smoothing algorithms are used. The broader meaning of Aliasing is aliasing which designates a phenomenon of frequency distortion. By abuse of language, we also speak of aliasing for aliasing. Note also that in French we are supposed to write crènelage (with a grave accent). L "Anti-Aliasing and anti-aliasing: FXAA, SMAA, MSAA, SSAA, TXAA Several algorithms exist with each their advantages and disadvantages. FXAA (Fast Approximate Anti-Aliasing) FXAA (fast approximate anti-aliasing) developed by NVIDIA improves image quality by reducing irregularities. Because of this, it is very common in video games. You can see the difference in the outline of the elements of this image . source -aliasing Compare "these two fullscreen images without and with FXAA. Without Anti-aliasing - source with FXAA - source taa-vs-fxaa-vs-msaa / TAA TAA (Temporal Anti-Aliasing) works by comparing neighboring images (temporally) and mixing them to create a sharper moving image. It consumes a lot of energy. few resources. Without AA -source with TAA - source -vs-taa-vs-fxaa-vs-msaa / SMAA SMAA (Subpixel Morphological Anti-Aliasing) makes the image look more net by removing rough or jagged edges around objects. It goes further because it finds and recognizes patterns in the form of lines, curves, frarises of objects and scrambles them along these lines. NVIDIA has developed a variant of multisampling called CSAA (Coverage Sampling) . AMD has done the same by releasing its EQAA (Enhanced Quality) which succeeds CFAA (Custom Filter) . MSAA and SSAA MSAA (Multi-Sample Anti-Aliasin) and SSAA (SuperSampling Anti-Aliasing) offer the best results. They work by rendering the image at a higher resolution and then resizing it to fit the native resolution. This essentially makes the entire image sharper and more detailed, reducing rough edges process but not completely removing them. MSAA or multisampling uses edge detection algorithms to detect the crtrimming (based on the differences in contrast), then only renders those parts at a higher resolution. Again, the amount of sampling varies from 2x to 8x. In most cases SSAA and MSAA lack transparent textures because most edge detection filters fail to recognize them. Also, they tend to reduce the intensity of aliasing, rather than eliminating it altogether. MSAA is more efficient on polygons. Finally both are very efficient on static images. SSAA is a little more efficient on dynamic images. source source TXAA We end with TXAA (Temporal approximate Anti-Aliasing) The image is rendered one by one with a resolution of screen, but in each frame. As a result and over time, we get several frames of the same pixel in a small radius. Less expensive than SSAA but more expensive than SMAA, more images are blurry and require additional image processing by the sharpness filter. It can be combined with FXAA for better quality. Works well with both static and dynamic images Comparative, which Anti-Aliasing to choose? Here is a summary table: Anti-aliasing algorithms Deion MSAA SSAA The most beautiful renderings But the most resource-intensive TXAA Is between the two in terms of performance cost FXAA SMAA TAA Good rendering without too much impact on performance Comparison table of Anti-Aliasing algorithms Here is the anti-aliasing algorithm that the we recommend: If the target graphics card is not powerful , you must select FXAA . For less powerful systems and when MSAA is not available try SMAA. If the graphics card is powerful and faced the technique SMAA , then it is worth choosing TXAA. Links Optimizing Windows 10 for FPS in Games: The Complete Guide sources: and / You found this article useful and interesting, do not hesitate to share it ... This article is Creative Commons BY-NC-SA license. You are allowed to share and edit this article, provided that you credit the site as well as the license, to use the same license if you modify the work and not to make commercial use of it. What is as Anti-Aliasing and Antialiasing: FXAA, SMAA, MSAA, SSAA, TXAA Follow these forum articles to find an answer: Otherwise create your own request for free help. More details: How to get help on the forum