Unity OverDraw Visualization Guide
Main Purpose
OverDraw is used to detect the overdraw rate on the screen, especially for semi-transparent overdraw detection in visual effects. It helps us locate performance issues related to effects and optimize the rendering pipeline.
How to Use
In Unity 2022.4.60f1, the steps to enable the OverDraw view are as follows:
-
Open Rendering Debugger
- Path: Window > Analysis > Rendering Debugger
-
Enable OverDraw Mode
- In the opened Rendering Debugger window, find OverDraw Mode and select it.
(Note: Once OverDraw Mode is enabled, you can see the OverDraw view in the Scene view)
Notes
-
When using OverDraw mode, pay special attention to the rendering of Visual Effects, especially semi-transparent parts, as these parts may consume more GPU performance.
-
Optimizing the rendering method of effects based on feedback from the OverDraw view can effectively improve game runtime efficiency.