Unity — How the Universal Render Pipeline (URP) Improves Projects

Published: 2023-11-06Views: 102

What is URP?

Its full name is Universal Render Pipeline. It is a template officially provided by Unity based on SRP. Its predecessor was LWRP (Lightweight RP), renamed URP starting from 2019.3. It covers a wide range of different platforms, is built for cross-platform development, performs better than the built-in pipeline, and can be customized to achieve different rendering styles. The Universal Render Pipeline will become the foundation for rendering in Unity in the future. Like LWRP, URP allows developers to extend Unity's graphics pipeline with custom rendering passes through custom effects. Unlike regular shaders and effects, these passes are independent of cameras and can persist throughout the project without per-scene setup.

Platform scope of URP: usable on any platform Unity currently supports.

Scenes processed by URP

图片1.png

What are the advantages of URP?

1. Supports post-processing with strong manipulability. URP can perform more than ten different post-processing effects, giving scenes more realism compared to the original built-in pipeline.

2. Good performance — can render up to 8 pixel lights in one pass.

图片2.png

Performance consumption comparison

URP lighting vs built-in:

1. Performance in shadow handling is much better than the built-in render pipeline.

2. Adding dynamic lights on top of URP parallel lights brings no additional performance overhead of Batches and SetPass calls.

Built-in render pipeline:

图片3.png

URP:

图片4.png
图片5.png

It can be seen that URP reduces Batches by nearly half compared to the built-in render pipeline. Therefore, using the URP in Unity projects not only brings significant scene improvements but also further reduces resource and performance consumption. Currently, URP is widely applied in various 3D projects thanks to its excellent performance and strong platform compatibility.

‹Back to list
Unity — How the Universal Render Pipeline (URP) Improves Projects | Hongzhi Future