Hey! My name is Alexander, I am the head of computer graphics programmers at Gaijin in the CRSED and Enlisted projects . Sometimes, in my spare time, I research how the graphics work in other games and find something interesting there.
I recently decided to figure out why XCOM 2 is slowing down on my laptop. While studying the rendering of this game, I found a number of places that could be accelerated without problems. The results of my little research have resulted in a video:
.
!
, 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 . .
, , . . , .
, . .