Skip to content

Commit f1c86ec

Browse files
committed
Document sub-pixel morphological antialiasing (SMAA) (#102330)
1 parent 4f4b681 commit f1c86ec

File tree

2 files changed

+44
-23
lines changed

2 files changed

+44
-23
lines changed

β€Žtutorials/3d/3d_antialiasing.rst

+44-23
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,27 @@ Comparison between no antialiasing (left) and FXAA (right):
181181

182182
.. image:: img/antialiasing_fxaa.webp
183183

184+
Sub-pixel Morphological Antialiasing (SMAA 1x)
185+
----------------------------------------------
186+
187+
*This is only available in the Forward+ and Mobile renderers, not the Compatibility
188+
renderer.*
189+
190+
Sub-pixel Morphological Antialiasing is a post-processing antialiasing solution. It runs
191+
slightly slower than FXAA, but produces less blurriness. This is very helpful when the
192+
screen resolution is 1080p or below. Just like FXAA, SMAA 1x lacks temporal information
193+
and will therefore not do much against specular aliasing.
194+
195+
Use SMAA 1x, if you can't afford MSAA, but find FXAA too blurry.
196+
197+
SMAA 1x can be enabled in the Project Settings by changing the value of the
198+
:ref:`Rendering > Anti Aliasing > Quality > Screen Space AA<class_ProjectSettings_property_rendering/anti_aliasing/quality/screen_space_aa>`
199+
setting to ``SMAA``.
200+
201+
Comparison between no antialiasing (left) and SMAA 1x (right):
202+
203+
.. image:: img/antialiasing_smaa.webp
204+
184205
Supersample antialiasing (SSAA)
185206
-------------------------------
186207

@@ -295,29 +316,29 @@ Antialiasing comparison
295316
.. The table looks malformed but is not. When making changes, check the nearby
296317
.. lines for guidance.
297318
298-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
299-
| Feature | MSAA | TAA | FSR2 | FXAA | SSAA | SSRL |
300-
+==========================+==========================+==========================+==========================+==========================+==========================+==========================+
301-
| Edge antialiasing | 🟒 Yes | 🟒 Yes | 🟒 Yes | 🟒 Yes | 🟒 Yes | πŸ”΄ No |
302-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
303-
| Specular antialiasing | 🟑 Some | 🟒 Yes | 🟒 Yes | 🟑 Some | 🟒 Yes | 🟒 Yes |
304-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
305-
| Transparency antialiasing| 🟑 Some [1]_ | 🟒 Yes [2]_ | 🟒 Yes [2]_ | 🟒 Yes | 🟒 Yes | πŸ”΄ No |
306-
| | | | | | | |
307-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
308-
| Added blur | 🟒 None | 🟑 Some | 🟑 Some | 🟑 Some | 🟑 Some [3]_ | 🟒 None |
309-
| | | | | | | |
310-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
311-
| Ghosting artifacts | 🟒 None | πŸ”΄ Yes | πŸ”΄ Yes | 🟒 None | 🟒 None | 🟒 None |
312-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
313-
| Performance cost | 🟑 Medium | 🟑 Medium | πŸ”΄ High | 🟒 Low | πŸ”΄ Very High | 🟒 Low |
314-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
315-
| Forward+ | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes |
316-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
317-
| Mobile | βœ”οΈ Yes | ❌ No | ❌ No | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes |
318-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
319-
| Compatibility | βœ”οΈ Yes | ❌ No | ❌ No | ❌ No | βœ”οΈ Yes | ❌ No |
320-
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
319+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
320+
| Feature | MSAA | TAA | FSR2 | FXAA | SMAA 1x | SSAA | SSRL |
321+
+==========================+==========================+==========================+==========================+==========================+==========================+==========================+==========================+
322+
| Edge antialiasing | 🟒 Yes | 🟒 Yes | 🟒 Yes | 🟒 Yes | 🟒 Yes | 🟒 Yes | πŸ”΄ No |
323+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
324+
| Specular antialiasing | 🟑 Some | 🟒 Yes | 🟒 Yes | 🟑 Some | 🟑 Some | 🟒 Yes | 🟒 Yes |
325+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
326+
| Transparency antialiasing| 🟑 Some [1]_ | 🟒 Yes [2]_ | 🟒 Yes [2]_ | 🟒 Yes | 🟒 Yes | 🟒 Yes | πŸ”΄ No |
327+
| | | | | | | | |
328+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
329+
| Added blur | 🟒 None | 🟑 Some | 🟑 Some | 🟑 Some | 🟒 Low | 🟑 Some [3]_ | 🟒 None |
330+
| | | | | | | | |
331+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
332+
| Ghosting artifacts | 🟒 None | πŸ”΄ Yes | πŸ”΄ Yes | 🟒 None | 🟒 None | 🟒 None | 🟒 None |
333+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
334+
| Performance cost | 🟑 Medium | 🟑 Medium | πŸ”΄ High | 🟒 Very Low | 🟒 Low | πŸ”΄ Very High | 🟒 Low |
335+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
336+
| Forward+ | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes |
337+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
338+
| Mobile | βœ”οΈ Yes | ❌ No | ❌ No | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes | βœ”οΈ Yes |
339+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
340+
| Compatibility | βœ”οΈ Yes | ❌ No | ❌ No | ❌ No | ❌ No | βœ”οΈ Yes | ❌ No |
341+
+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+
321342

322343

323344
.. [1] MSAA does not work well with materials with Alpha Scissor (1-bit transparency).
330 KB
Binary file not shown.

0 commit comments

Comments
Β (0)