# 1. 2D Renderer Setup Part of [[2D Lighting in URP]]. Next: [[2. Light 2D Types]]. Without a **2D Renderer** on the URP asset your camera uses, Light 2D will not light the way this series describes. A 3D URP Forward renderer is the wrong pipeline for this lesson. ## 1.1 New project **Universal 2D** template in Unity Hub (6000.5). That template is already wired for 2D Renderer, 2D lighting, and the 2D package set ([[Tilemaps and Tilesets]], [[1. Packages and Mental Model]]). Confirm: Graphics / URP asset > renderer list includes a **2D Renderer** data asset, and the Camera uses that pipeline. ## 1.2 Existing 3D URP project You can add a 2D Renderer data asset and a second URP asset, or add the 2D Renderer to a renderer list - but cameras must *use* it. A likely create menu (flag: **confirm the exact wording** in your 6000.5 Editor) is: **Assets > Create > Rendering > URP Asset (with 2D Renderer)** If that item is missing, look under **Assets > Create > Rendering** for a 2D Renderer Data asset and assign it on your URP asset's renderer list. Point **Project Settings > Graphics** (and Quality, if your template splits them) at the URP asset that includes the 2D Renderer. The 2D Camera (or a Camera with a 2D-compatible projection - typically **orthographic** for this lesson) must reference that pipeline. A leftover 3D camera in the same scene can still be useful for a debug view; it will not preview 2D lights correctly if it uses a Forward renderer. ## 1.3 Blend styles (quick) The 2D Renderer asset exposes **Light Blend Styles**. Default styles are enough for a first room (multiply / additive families - read the labels in *your* renderer asset). Custom blend styles are a later art-direction pass, not a setup requirement. ## 1.4 Exercise In a Universal 2D project, add a mid-gray sprite and one Light 2D (Global). If the sprite is unlit / invisible, the camera is not on the 2D Renderer or there is no Global (or other) light covering that sorting layer. Fix the pipeline before you art-direct. ## Sources - Get started with 2D lighting (6000.5): https://docs.unity.com/en-us/engine/6000.5/manual/unity2d/2d-game-development/2d-lighting/get-started-2d-lighting - Universal 2D template: https://docs.unity.com/en-us/engine/6000.5/manual/unity2d/2d-game-development/setup-project-2d-game