Anti-Aliasing (AA) is an image processing technique that aims to reduce the "aliasing" edges in images and make them smoother and more natural.
Fast Approximate Anti-Aliasing (FXAA) is screen-space anti-aliasing mode applied after the camera renders the final image,it can smooth all pixels, including by shader-generated specular
, alpha-cutoff edge
.
Galacean turns off 'FXAA' by default, which you can configure via 'antiAliasing' under the Camera or call antiAliasing interface.
Multiple Sampling Anti-Aliasing (MSAA) is a hardware-level anti-aliasing technology, mainly addressing the jagged edges of geometric shapes. Since jagged edges caused by materials, textures, and transparency and other non-geometric objects are not affected by MSAA
, this means that you can use MSAA
and FXAA
together.
Materials, textures, and transparent surfaces are not affected by MSAA, which means you can use MSAA with FXAA.
In Galacean, the default 'msaaSamples' under the camera is' 4x'. You can modify the 'msaaSamples' to customize the 'MSAA' quality. Or directly call msaaSamples interface Settings.
To see the anti-aliasing effect, preview through the camera window: