In this lesson, you will learn how to navigate the GPU Visualizer to break down render passes and identify the specific shaders or draw calls causing performance bottlenecks in your scene.
While Unreal Insights gives you a high-level overview of frame timing, the GPU Visualizer is your "microscope" for understanding exactly what the graphics card is doing during a single frame. To open it, press Ctrl + Shift + , (comma) or type profilegpu into the console command line while in the Editor.
Decoding the Hierarchy
When the window pops up, you will see a hierarchical list of events. The top-level items usually represent major render passes like PrePass, BasePass, ShadowDepths, and PostProcessing.
- Expanding Passes: Click the arrows next to a pass to drill down. You are looking for the longest bars, which represent the time spent on that specific task.
- Identifying Hotspots: If you see a massive spike under
BasePass, expand it to see the draw calls. Often, you will see specific material names. If a material name is highlighted, that shader is your primary performance culprit. - Analyzing Draw Calls: If the
ShadowDepthsorBasePasssections show a high number of individual draw calls, it suggests you are dealing with too many unique objects rather than a single expensive shader.
Pro-Tip: Visualizing the Shaders
If you suspect a specific material is too heavy, keep an eye on the "Inclusive" time column. An "Inclusive" time includes the children of that node, helping you spot which major category is bloated. If you find a shader taking 3ms+ on its own, it’s a clear signal to go back to your Material Editor and simplify your math, reduce texture lookups, or optimize your Masked blend modes.
By systematically drilling down into these nested categories, you transition from "the game is lagging" to "the water surface shader is performing too many texture samples during the base pass."
Key Takeaway: The GPU Visualizer turns abstract frame-time spikes into actionable data by identifying the exact render pass and material shader responsible for your performance bottlenecks.