Rendering in the Universal Render Pipeline
Understand the frame rendering loop and the camera loop in URP.
阅读时间2 分钟最后更新于 22 天前
The Universal Render Pipeline (URP) renders scenes using the following components:
-
URP Renderer. URP contains the following Renderers:
-
Shading models for shaders shipped with URP
-
Camera
The following illustration shows the frame rendering loop of the URP Universal Renderer.

URP Universal Renderer, Forward Rendering Path
When the render pipeline is active in Graphics Settings, Unity uses URP to render all Cameras in your Project, including game and Scene view cameras, Reflection Probes, and the preview windows in your Inspectors.
The URP renderer executes a Camera loop for each Camera, which performs the following steps:
- Culls rendered objects in your scene
- Builds data for the renderer
- Executes a renderer that outputs an image to the framebuffer.
Camera loop
The Camera loop performs the following steps:
Step | Description |
|---|---|
| Setup Culling Parameters | Configures parameters that determine how the culling system culls Lights and shadows. You can override this part of the render pipeline with a custom renderer. |
| Culling | Uses the culling parameters from the previous step to compute a list of visible renderers, shadow casters, and Lights that are visible to the Camera. Culling parameters and Camera layer distances affect culling and rendering performance. |
| Build Rendering Data | Catches information based on the culling output, quality settings from the URP asset, Camera, and the current running platform to build the |
| Setup Renderer | Builds a list of render passes, and queues them for execution according to the rendering data. You can override this part of the render pipeline with a custom renderer. |
| Execute Renderer | Executes each render pass in the queue. The renderer outputs the Camera image to the framebuffer. |