当前位置:网站首页>[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Introduction to Anti-Aliasing
[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Introduction to Anti-Aliasing
2022-08-06 23:19:00 【zczplus】
[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Anti-Aliasing Introduction
- @[TOC]([TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Anti-Aliasing Introduction
- 4.4.1 How Antialiasing Works
- 4.4.2 SSAA Super Sample Anti-aliasing
- 4.4.4 TemporalAA Temporal Antialiasing
- 4.4.5 FXAA Fast Approximate Anti-Aliasing
- 4.4.6 Antialiasing Speed Sorting
- 4.4.7 Additional Antialiasing
- MSAA in Mobile
- Assignments
[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Anti-Aliasing Introduction
- @[TOC]([TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.4 Anti-Aliasing Introduction
- 4.4.1 How Antialiasing Works
- 4.4.2 SSAA Super Sample Anti-aliasing
- 4.4.4 TemporalAA Temporal Antialiasing
- 4.4.5 FXAA Fast Approximate Anti-Aliasing
- 4.4.6 Antialiasing Speed Sorting
- 4.4.7 Additional Antialiasing
- MSAA in Mobile
- Assignments
4.4.1 How antialiasing occurs


4.4.2 SSAA Super Sample Anti-aliasing
Assuming that the final output resolution is 800x600, 4xSSAA will first render to a buffer with a resolution of 1600x1200, and then directly downsample the enlarged dead white buffer to 800x600.This method is mathematically perfect for antialiasing.However, the disadvantage is also obvious. The symbol load of the rasterization and fragment shader stages is four times the original, and the size of the render target has also increased by four times.
4.4.3 MSAA Multisample Anti-aliasing

Originally only one point was sampled, so there was no gradient effect, now sample four points and calculate the color with a percentage to achieve a gradient effect.
So MSAA focuses on the rasterization and fragment shader stages:
- Percentage recorded during rasterization
- Fragment shader color according to percentage

4.4.4 TemporalAA Temporal Antialiasing
- Distribute the process of multiple sampling to each frame, and each frame saves the small data from the previous frames on average;
- Each frame will have a certain offset, inheriting MSAA sampling;
- Use the motion vector to store the offset of the movement per frame;


4.4.5 FXAA Fast Approximate Anti-Aliasing

- Effective blur blending with edge detection
- Done during post-processing and does not depend on hardware support
4.4.6 Antialiasing Speed Sorting
- FXAA
- TemporalAA
- MSAA
- SSAA
4.4.7 Additional Antialiasing
Forward Rendering: SSAA, MSAA, CSAA, RGSS
Deferred Rendering: FXAA, MLAA, SMAA
Temporal Antialiasing: TemporalAA, TXAA
Deep Learning Based: DLAA
MSAA in mobile
Honor 30Pro+ supports MSAA
The average frame rate is 59.7 frames when the "4x anti-aliasing" setting is not turned on
The frame rate is 59.6 frames when turned on
It can be found that the effect on the frame rate is not large, but the temperature of the GPU will be affected.obvious impact.
Assignments
Compare the pros and cons of each antialiasing scheme:
| Type of antialiasing | Whether deferred rendering is supported | Performance cost | Antialiasing | Poor performance on test | value for money |
|---|---|---|---|---|---|
| MSAA(8x) | No | in | Good | none | in |
| SSAA | Yes | High | Excellent | none | Low |
| FXAA | Yes | Low | Good | The screen will be blurry | High |
| SMAA (Enhanced Subpixel Morphological Antialiasing) | Yes | Low | Good | none | High |
| TAA | Yes | Low | Good | There will be flickering performance | High |
边栏推荐
- bugku simple forensics 1
- 【超好懂的比赛题解】HNCPC Multi-university Training Round3 比赛题解
- Those MP3s that are reluctant to delete--modify the ID3tag of mp3 in batches
- 在EXCEL中正确使用逗号分隔的CSV文件
- navicat connect to oracle
- 2022-08-05 第六小组 瞒春 学习笔记
- Cesium快速上手1-CesiumWidget-Scene结构
- k8s部署redis集群(6节点,3主3从集群模式)
- The story of bugku 0 and 1
- 猿人学-第二题
猜你喜欢
随机推荐
那些舍不得删除的 MP3--批量修改mp3的ID3tag
Julia两天极速入门学习笔记
猿人学-第一题
MySQL-操作数据库(存储引擎)
micronet ICCV2021
1.基于ITIL的IT服务管理基础篇 --- 引言
B. Jumps
Promise的点点滴滴
时序预测 | MATLAB实现XGBoost极限梯度提升树时间序列预测
“蔚来杯“2022牛客暑期多校训练营6,签到题GJBMA
[ 漏洞复现篇 ] OpenSSH 命令注入漏洞 (CVE-2020-15778)
[C语言刷题篇]链表运用讲解
Empty suite
D. Number into Sequence【1300】
如何合理的使用Redis内存
抖音众多接口展示
MySQL 免安装版安装配置
一文带你了解webrtc基本原理(动手实现1v1视频通话)
轻松完成接口测试及接口文档
PAT乙级-B1026 程序运行时间(15)









