Techniques and resources for creating 2D lights and applying 2D lighting effects.
| Topic | Description |
|---|---|
| Introduction to 2D lighting | Understand the tools and runtime components you use to create a lit 2D scene. |
| Create a 2D light | Create a 2D light that illuminates compatible 2D GameObjects in your scene. |
| Make a GameObject compatible with 2D lights | Make a shader or a visual effect graph compatible with 2D lights. |
| Add a normal map or a mask map to a sprite | Add surface detail such as bumps, grooves, and scratches to a 2D sprite. |
| Blend 2D lights | Change how a 2D light interacts with GameObjects and other 2D lights. |
| Shadows from 2D lights | Add shadows from 2D lights or create a custom shadow. |
| Optimize 2D lights by batching | Organize your 2D lights with the Light Batching Debugger window so Unity uses fewer textures to render light and shadows. |
| Create a custom 2D light type | Create a custom 2D light type using the Light2DProvider API. |
| Light 2D component reference | Explore the properties and options you can use to customize the appearance and behavior of 2D lights. |