Optimizing graphics
The most common cause of performance issues is related to the misuse of assets, especially on the graphics side, due to not having enough knowledge of how Unity’s graphics engines work. We are going to explore how a GPU works at a high level and how to improve its usage.
In this section, we will examine the following graphics optimization concepts:
- Introduction to graphics engines
- Using Frame Debugger
- Using batching
- Other optimizations
We will start by looking at a high-level overview of how graphics are rendered to better understand the performance data that we will gather later in Frame Debugger. Based on the debugger’s results, we are going to identify the areas where we can apply batching (which is a technique to combine the rendering process of several objects, reducing its cost), along with other common optimizations to keep in mind.
Introduction to graphics engines
Nowadays, every gaming device...