ねえ!私の名前はアレクサンダーです。CRSEDおよびEnlistedプロジェクトの外人のコンピューターグラフィックスプログラマーの責任者です。時々、暇なときに、他のゲームでグラフィックがどのように機能するかを調べて、そこで何か面白いものを見つけます。
私は最近、XCOM2が私のラップトップで遅くなっている理由を理解することにしました。このゲームのレンダリングを研究していると、問題なく加速できる場所がいくつか見つかりました。私の小さな研究の結果は、ビデオになりました:
.
!
, XCOM 2 . 2016 . Unreal Engine 3.5. XCOM , . , , .
, , — FPS, . . FPS 25-30. , GTX 1050 . 6 , .
RenderDoc 1.12. , . , , .
. , ( ), , , .. , .
«» G-buffer
G-buffer'. — G-buffer' (>16 ). , .
G-buffer 5 RGBA16F, 4 16- .
1080 80 , , , . , — , — .
, G-buffer :
(.. ) ( - ).
(- Ambient Occlusion).
( - 4 )
( + roughness).
( - — , )
. 16 12 .
4 8- ( 0 1). 2 . 8 .
. , , [ ]. , , , .
4 , , 2 . , . 2 16 . 8 .
, .
— . 3 — , , 2 . 3 . . , . , , 0 .
, 12 , 8 , 8 16 . 44 . . , G-buffer.
, G-buffer, — (prepass). Prepass — . G-buffer' , . , .
G-buffer' 24 .
, prepass’ G-buffer CPU. , , , G-buffer, prepass’. , . , , .
. ( DrawIndexed ), . , DrawIndexed DrawIndexedInstanced, .
. , , , DirectX, . FPS.
Level of Details
— level of details. , .
. , .
SSAO (Screen Space Ambient Occlusion)
G-buffer' — SSAO. 8 10 . , .
GTAO, . Activision Blizzard AO . PlayStation 4, . , 2.5 GFLOPS, AO 20 Blizzard. , , AO .
Depth of Field
— depth of field. XCOM . 3 . .
, , . . , .
, . .