그래픽 최적화를 위해서 필수로 알아야하는 드로우콜과 배칭을 심화하여 다룹니다. 드로우콜의 개념, Batch와 SetPass Call의 차이, 드로우콜 감소 방법 등등 기초 개념부터 실무적인 깊이까지 다룹니다. 기반지식 여부 상관 없이 모두 들으실 수 있습니다. 특히 아티스트와 프로그래머에게 도움이 될 것입니다.
35. Batch
= Draw Call
+ Set VB/IB (mesh)
+ Set Transform (Shader Constant)
+ Set Shader
+ Set Texture 0~7
+ Set Blending
+ Set Z enable
+ ...
SetPass Call
(Material&Shader)
78. Condition 1
- Batching : No
- Occlusion Culling : No
Condition 2
- Batching : Yes
- Occlusion Culling : No
Condition 3
- Batching : Yes
- Occlusion Culling : Yes
FPS(ms) 41(24.3) 50(20.0) 60(16.6)
Batches 1365 157 94
SetPass Calls 134 142 81
Saved by Batching 0 1207 244
Tris 114.3K 114.3K 28.9K
-4.3ms -3.4ms
-1208 -63
-8 -61
-85.4K
Note :
- This is not the official data.
- This is the rough test. Not the exact reference.
- Keep in mind “case by case”