FXAA

FXAA stands for “Fast Approximate Anti-Aliasing”. It is a post-processing technique used in computer graphics to smooth out jagged edges and reduce aliasing in images, particularly in real-time applications such as video games.

Aliasing occurs when the resolution of an image is not high enough to accurately represent the shape of an object, resulting in jagged edges and other visual artifacts. Anti-aliasing techniques like FXAA work by smoothing out these jagged edges and reducing the visual noise in an image.

FXAA is a fast and efficient anti-aliasing method that works by analyzing each pixel in an image and blending its color with the colors of adjacent pixels. This process effectively blurs the edges of objects, reducing the appearance of aliasing. FXAA is a popular technique in video games because it can be implemented quickly and with relatively little impact on performance.

Configuration

In Gorilla3D we decided not to use multisampling for anti-aliasing, because FXAA is much faster, even though it sometimes produces less good quality. Because of the algorithm, with more smoothness also other parts of the image getting blurred and not only edges.

By default FXAA is activated in TGorillaViewport.

You can increase smoothness by setting the “FXAA” property of the viewport to a higher value than 1. The maximum value is 8.

Settings this property to zero deactivates FXAA computation.

Remarks

Due to a more asynchronous rendering mechanism inside of some modern NVIDIA GPUs it's not possible to use more than 1 iterations of FXAA.