Version: Unity 6 (6000.0)
Language : English
Universal Render Pipeline asset reference for URP
Graphics settings window reference for URP

Universal Renderer asset reference for URP

This page describes the URP Universal Renderer settings.

For more information on rendering in URP, also check Rendering in the Universal Render Pipeline.

How to find the Universal Renderer asset

To find the Universal Renderer asset that a URP asset is using:

  1. Select a URP asset.

  2. In the Renderer List section, click a renderer item or the vertical ellipsis icon (⋮) next to a renderer.

    How to find the Universal Renderer asset
    How to find the Universal Renderer asset

Properties

Filtering

This section contains properties that define which layers the renderer draws.

Property Description
Opaque Layer MaskA value defining which layers to include or exclude from an operation, such as rendering, collision or your own code. More info
See in Glossary
Select which opaque layers this Renderer draws
Transparent Layer Mask Select which transparent layers this Renderer draws

Rendering

This section contains properties related to rendering.

Property Description
Rendering Path Select the Rendering Path.
Options:
  Depth Priming Mode This property determines when Unity performs depth priming.
Depth Priming can improve GPU frame timings by reducing the number of pixel shader executions. The performance improvement depends on the amount of overlapping pixels in the opaque pass and the complexity of the pixel shaders that Unity can skip by using depth priming.
The feature has an upfront memory and performance cost. The feature uses a depth prepass to determine which pixel shader invocations Unity can skip, and the feature adds the depth prepass if it’s not available yet.
The options are:
  • Disabled: Unity does not perform depth priming.
  • Auto: If there is a Render Pass that requires a depth prepass, Unity performs the depth prepass and depth priming.
  • Forced: Unity always performs depth priming. To do this, Unity also performs a depth prepass for every render pass. Note: Depth priming is disabled at runtime on certain hardware (Tile Based Deferred Rendering) regardless of this setting.
On Android, iOS, and Apple TV, Unity performs depth priming only in the Forced mode.

This property is available only if Rendering Path is set to Forward

Note: Depth Priming cannot be used when MSAA is enabled therefore the Depth Priming Mode property is not available.
  Accurate G-buffer normals Indicates whether to use a more resource-intensive normal encoding/decoding method to improve visual quality.

This property is available only if Rendering Path is set to Deferred.
Depth Texture Mode Specifies the stage in the render pipeline at which to copy the scene depth to a depth texture. The options are:
  • After Opaques: URP copies the scene depth after the opaques render pass.
  • After Transparents: URP copies the scene depth after the transparents render pass.
  • Force Prepass: URP does a depth prepass to generate the scene depth texture.
Note: On mobile devices, the After Transparents option can lead to a significant improvement in memory bandwidth. This is because the Copy Depth pass causes a switch in render target between the Opaque pass and the Transparents pass. When this occurs, Unity stores the contents of the Color Buffer in the main memory, and then loads it again once the Copy Depth pass is complete. The impact increases significantly when MSAA is enabled as Unity must also store and load the MSAA data alongside the Color Buffer.

Native RenderPass

This section contains properties related to URP’s Native RenderPass API.

Property Description
Native RenderPass Indicates whether to use URP’s Native RenderPass API. When enabled, URP uses this API to structure render passes. As a result, you can use programmable blending in custom URP shaders. For more information about the RenderPass API, refer to ScriptableRenderContext.BeginRenderPass.

Note: Enabling this property has no effect on OpenGL ES.

Shadows

This section contains properties related to rendering shadows.

Property Description
Transparent Receive Shadows When this option is on, Unity draws shadows on transparent objects.

Overrides

This section contains 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
properties that this Renderer overrides.

Stencil

With this check box selected, the Renderer processes the Stencil bufferA memory store that holds an 8-bit per-pixel value. In Unity, you can use a stencil buffer to flag pixels, and then only render to pixels that pass the stencil operation. More info
See in Glossary
values.

URP Universal Renderer Stencil override
URP Universal Renderer Stencil override

For more information on how Unity works with the Stencil buffer, refer to ShaderLab: Stencil.

In URP, you can use bits 0 to 3 of the stencil buffer for custom rendering effects. This means you can use stencil indices 0 to 15.

Compatibility

This section contains settings related to backwards compatibility.

Property Description
Intermediate Texture This property lets you force URP to renders via an intermediate texture.
Options:
  • Auto: URP uses the information provided by the ScriptableRenderPass.ConfigureInput method to determine automatically whether rendering via an intermediate texture is necessary.
  • Always: forces rendering via an intermediate texture. Use this option only for compatibility with Renderer Features that do not declare their inputs with ScriptableRenderPass.ConfigureInput. Using this option might have a significant performance impact on some platforms.

Renderer Features

This section contains the list of Renderer Features assigned to the selected Renderer.

For information on how to add a Renderer Feature, check How to add a Renderer Feature to a Renderer.

URP contains the pre-built Renderer Feature called Render Objects.

Universal Render Pipeline asset reference for URP
Graphics settings window reference for URP