Techniques and resources for creating different types of 2D lights.
| Topic | Description |
|---|---|
| Prepare your project for 2D lighting | Create a Light 2D GameObjectThe 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 in your project. |
| Light 2D component reference for URP | Understand the properties and options available to customize a Light 2D GameObject. |
| Configure a 2D light | Understand the behavior of different Light 2D component properties in greater detail, with examples comparing different effects. |
| Add a normal map or a mask map to a sprite in URP | To create surface details such as bumps, grooves, and scratches that catch the light from a 2D light, add a normal mapA 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 or a mask map to a spriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info See in Glossary. |
| Enable 2D lighting with the Tilemap Renderer in URP | Set up the required settings to use the TilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info See in Glossary Renderer component with URP to enable 2D lighting. |
| Prepare and upgrade sprites for 2D lighting in URP | Prepare your sprites and existing materials to be lit by 2D lighting. |