Version: Unity 7.0 Alpha (7000.0)
Language : English
Change or detect the active render pipeline
Using the Universal Render Pipeline

Rendering paths in Unity

Important: The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
For more information on migration, refer to Migrating from the Built-In Render Pipeline to the Universal Render Pipeline and Render pipeline feature comparison.

A rendering path is the series of operations that draws and lights GameObjects the camera sees. Different rendering paths have different capabilities and performance characteristics.

Unity supports forward and deferred rendering paths.

Forward

The Forward rendering path is the default rendering path in Unity projects. It works in the following way:

  • Unity lights each GameObject in turn.
  • Lighting has limits, for example how often or how well Unity can light each GameObject. These limits are different for each render pipeline.

The Universal Render Pipeline (URP) also has a Forward+ rendering path, which is similar to the Forward rendering path but has no limit on lights per GameObject.

Note: The Built-In Render Pipeline also has a Legacy Vertex Lit rendering path, which is a subset of the Forward rendering path.

Deferred

The Deferred rendering path works in the following way:

  • Unity first creates a geometry buffer (G-buffer), which is a set of textures that stores data about the geometry and materials the camera sees.
  • Unity uses the data from the G-buffer to light all the GameObjects at once.
  • There are fewer limits on lighting, so GameObjects and shadows are more detailed. For example, normal maps and cookies work with all lights.

Deferred rendering paths can’t render transparent objects, so at the end of the rendering path Unity uses a forward render pass to render transparent objects.

Choose a rendering path

Each rendering path has advantages and disadvantages. For more information, refer to the following:

Additional resources

Change or detect the active render pipeline
Using the Universal Render Pipeline
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961