17
Which is beautiful?

DotsLT AA Overview

  • Upload
    -

  • View
    334

  • Download
    1

Embed Size (px)

Citation preview

Which is beautiful?

Which is beautiful?

Which is beautiful?

Which is beautiful?

How computer graphics are computed?

With unity….How computer graphics are computed?

表示したいものをシーンに配置するだけ

With low level API…. (like OpenGL/DirectX/Vulkan)

How computer graphics are computed?

全てのモデルは三角形(ポリゴン)の集まりにすぎない

With low level API…. (like OpenGL/DirectX/Vulkan)

How computer graphics are computed?

三角形が被るピクセルそれぞれの色を計算していく

Aliasing

How to reduce aliasing?

SSAA (Super Sampling Anti Aliasing)

How to reduce aliasing?

全てのピクセルに対して複数箇所色を計算する欠点:とても重い 利点:とてもシンプル    一番正確な結果

SSAA (Super Sampling Anti Aliasing)

How to reduce aliasing?

MSAA (Multi Sampling Anti Alias)

How to reduce aliasing?

Depth Sampling

Color Sampling

カメラからの深さを1ピクセル中の複数点で計算 色の計算は一回だけ

d0 d1

d2 d3

d0 >>> d1≒d2≒d3 →d0の部分はポリゴンはかぶってない(つまり背景色)と推測する

Cb

Cp

MSAA (Multi Sampling Anti Alias)

How to reduce aliasing?

FXAA (Fast approXimate Anti Aliasing)

How to reduce aliasing?

描き終わったデータのエッジを検出してぼかす

FXAA (Fast approXimate Anti Aliasing)

How to reduce aliasing?

p0

p1 p2

p3 p4

e ce c0

1ピクセルに対して色の計算は一回で良いので軽い

実際にはエッジではないところでも掛かってしまう

FXAA (Fast approXimate Anti Aliasing)

How to reduce aliasing?

The other AAsHow to reduce aliasing?

• SSAA/MSAA系 • CFAA • TXAA

• FXAA系 • SMAA • CMAA