Description Morphological Antialiasing (MLAA) developed by Intel Labs, is an image-based, post-process filtering technique that identifies discontinuity patterns and blends colors in the neighborhood of these patterns to perform effective antialiasing. It is the precursor of a new generation of real-time antialiasing techniques that rival Multisample Antialiasing (MSAA ).
The MLAA game tech sample is based on the original CPU-based MLAA implementation provided by Alexander Reshetov, with improvements to greatly increase performance. The improvements are:
• Integration of a new, efficient, easy-to-use tasking system implemented on top of Intel® Threading Building Blocks (Intel® TBB).
• Integration of a new, efficient, easy to use pipelining system for CPU onloading of graphics tasks.
• Improvement of data access patterns through a new transposing pass.
• Increased use of Intel® SSE instructions to optimize discontinuities detection and color blending.
As with all Intel game tech samples, this is free to download and use in your personal and commercial products.
Download Morphological Antialiasing today
Watch the Video
What You're Looking At: The top image is a screenshot of the sample in action. The camera can be moved around the scene using drag-and-click, and the mouse wheel can be used to zoom in or out. In addition, there are three blocks of controls on the right side of the sample's window.
The bottom image is a screenshot of the Gear Tower scene with MLAA and the "show found edges" option enabled. "Show found edges" runs the first part of the algorithm (find discontinuities between pixels), but the blending passes are replaced by a debug pass, where a pixel is:
• changed to solid green if a horizontal discontinuity has been found with its neighbor;
• changed to solid blue if a vertical discontinuity has been found with its neighbor;
• changed to solid red if both horizontal and vertical discontinuities have been found with its neighbors;
• unchanged if no discontinuities have been found.