Version: Unity 6 (6000.0)
Language : English
Change or detect the active render pipeline
Using the Universal Render Pipeline

Rendering paths in Unity

A rendering pathThe technique that a render pipeline uses to render graphics. Choosing a different rendering path affects how lighting and shading are calculated. Some rendering paths are more suited to different platforms and hardware than others. More info
See in Glossary
is the series of operations that draws and lights GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
the cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
sees. Different rendering paths have different capabilities and performance characteristics.

Unity supports forward and deferred rendering paths.

Forward

The Forward renderingA rendering path that renders each object in one or more passes, depending on lights that affect the object. Lights themselves are also treated differently by Forward Rendering, depending on their settings and intensity. More info
See in Glossary
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 pipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info
    See in Glossary
    .

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 mapsA type of Bump Map texture that allows you to add surface detail such as bumps, grooves, and scratches to a model which catch the light as if they are represented by real geometry.
    See in Glossary
    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