Anti-aliasing: Difference between revisions
(Added comparison image, because I feel that the current ones are a bit hard to make out the differences between. I took the screenshot myself at the same location in Garry's Mod) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{langsp}}__NOTOC__ | {{langsp}}__NOTOC__ | ||
[[File:AA comparison.jpeg|right|thumb|Comparison of no anti-aliasing and 8x MSAA. Click to enlarge]] | [[File:AA comparison.jpeg|right|thumb|Comparison of no anti-aliasing and 8x MSAA. Click to enlarge]] | ||
Anti aliasing is designed to combat the problems of aliasing. In simple terms Anti aliasing is designed to smooth out | Computer monitors are essentially a large grid of squares that can be set to any color or brightness. As such, it is impossible to draw a perfectly straight line, because no matter how many squares there are, it will never be able to make a perfectly smooth diagonal. This creates a stair-step pattern that is very noticeable the lower the resolution is, which is often referred to in the Video game world as "'''Aliasing'''". {{w|Spatial Anti-aliasing}}, often referred to simply as '''Anti-aliasing''', is designed to combat the problems of aliasing. In simple terms, Anti aliasing is designed to smooth out that stair-step pattern in images and make them look less pixelated, while not changing the resolution of the final image. | ||
==Overview== | ==Overview== | ||
'' | ===MSAA=== | ||
{{w|Multisample_anti-aliasing|'''M'''ulti'''S'''ample '''A'''nti-'''A'''liasing}} (MSAA) was the gaming industry standard of Anti-aliasing, and as such is the only version available in all {{Source|4}} games before {{csgo|4}}. Essentially, if a polygon is crossing a multisample points {{clarify}}, it detects how many of its neighboring points are being intersected and then takes the color of that polygon and adds it over the existing image to create a slightly smother line. This creates a smoother line, but does not completely remove the stair-step pattern. This, however, is usually sufficient for most users. | |||
Source games contain 4 different settings of MSAA, which include 2x, 4x, 6x, and 8x. What this does is add more multisampling points to a specified location and increases the accuracy of the multisampling, at the cost of performance | |||
===FXAA=== | |||
{{todo}} | |||
===TAA=== | |||
{{todo}} | |||
==Media== | ==Media== | ||
Line 55: | Line 60: | ||
* [[Direct3D]] | * [[Direct3D]] | ||
* [[Software renderer]] | * [[Software renderer]] | ||
* [https://learnopengl.com/Advanced-OpenGL/Anti-Aliasing Advanced OpenGL - Anti-Aliasing] | |||
* [[Vulkan]] | * [[Vulkan]] | ||
* [[FXAA]] | * [[FXAA]] |
Revision as of 13:22, 9 January 2024
Computer monitors are essentially a large grid of squares that can be set to any color or brightness. As such, it is impossible to draw a perfectly straight line, because no matter how many squares there are, it will never be able to make a perfectly smooth diagonal. This creates a stair-step pattern that is very noticeable the lower the resolution is, which is often referred to in the Video game world as "Aliasing". Spatial Anti-aliasing, often referred to simply as Anti-aliasing, is designed to combat the problems of aliasing. In simple terms, Anti aliasing is designed to smooth out that stair-step pattern in images and make them look less pixelated, while not changing the resolution of the final image.
Overview
MSAA
MultiSample Anti-Aliasing (MSAA) was the gaming industry standard of Anti-aliasing, and as such is the only version available in all
Source games before
Counter-Strike: Global Offensive. Essentially, if a polygon is crossing a multisample points [Clarify], it detects how many of its neighboring points are being intersected and then takes the color of that polygon and adds it over the existing image to create a slightly smother line. This creates a smoother line, but does not completely remove the stair-step pattern. This, however, is usually sufficient for most users.
Source games contain 4 different settings of MSAA, which include 2x, 4x, 6x, and 8x. What this does is add more multisampling points to a specified location and increases the accuracy of the multisampling, at the cost of performance
FXAA
[Todo]
TAA
[Todo]
Media
NO ANTIALIASING | ![]() |
2x MSAA | ![]() |
4x MSAA | ![]() |
8x MSAA | ![]() |
Support
GoldSrc
Game | FXAA | MSAA | TAA |
---|---|---|---|
![]() |
NO | YES | NO |
Source
Game | FXAA | MSAA | TAA |
---|---|---|---|
![]() |
NO | YES | NO |
![]() |
YES | NO | NO |
![]() |
NO | NO | YES |
![]() |
YES | YES | NO |
Source 2
Game | FXAA | MSAA | TAA |
---|---|---|---|
![]() |
N/A | YES | NO |