Version: Unity 6.1 Alpha (6000.1)
Language : English
Configure a 2D light
Prepare and upgrade sprites for 2D lighting in URP

Set up the 2D Renderer asset in URP

Install the following Editor and package versions to begin working with the 2D Renderer:

  • Unity 2021.2.0b1 or later

  • Universal 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
    version 10 or higher (available via the Package Manager)

  • Create a new Project using the 2D template.

  • Create a new Pipeline Asset and Renderer Asset by going to the Assets menu and selecting Create > Rendering > URP Asset (with 2D Renderer).

  • Enter the name for both the Pipeline and Renderer Assets. The name is automatically applied to both, with “_Renderer” appended to the name of the Renderer Asset.

  • The Renderer Asset is automatically assigned to the Pipeline Asset.

  • To set the graphics quality settings, there are two options:

Option 1: For a single setting across all platforms 1. Go to Edit > Project Settings and select the Graphics category.

  1. Drag the Pipeline Asset created earlier to the Scriptable Render Pipeline Settings box, and adjust the quality settings.

Option 2: For settings per quality level 1. Go to Edit > Project Settings and select the Quality category.

  1. Select the quality levels to be included in your Project.
  2. Drag the Pipeline Asset created earlier to the Rendering box.
  3. Repeat steps 2–3 for each quality level and platform included in your Project.

The 2D Renderer is now set up for your Project. Note: If you use the 2D Renderer in your Project, some of the options related to 3D rendering in the Universal Render Pipeline Asset will not affect or impact on your final app or game.

Configure a 2D light
Prepare and upgrade sprites for 2D lighting in URP