Version: Unity 6.6 Alpha (6000.6)
Language : English
Introduction to the 2D lighting system in URP
Prepare your project for 2D lighting

Adding 2D lights

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.

Additional resources

Introduction to the 2D lighting system in URP
Prepare your project for 2D lighting
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961