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 graphic 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 graphic 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 that we can apply batching to (which is a technique to combine the rendering process of several objects, thereby reducing its cost), along with other common optimizations to keep in mind.
Introduction to graphic engines
Nowadays, every gaming device, whether...