Modern 2D LightRays
Light2D, Groups & Global
Connect visual rays with URP Light2D and control many rays together.
Unity 2021.3 → 6.7+URP 2DPixel ArtLight2D
Matching Light2D
Enable Create Matching Light2D to add a URP Freeform Light2D that follows the ray perimeter. This is useful when the visual ray should also illuminate Lit Sprite materials.
Appearance sync
Enable Sync Appearance when you want the Light2D color and intensity to follow the ray. Available controls include Match Ray Color, Intensity Multiplier, Blend Style and Shadows.
Appearance sync is off by default for upgraded objects, so existing Light2D appearance settings remain unchanged.
Light Rays Group
Add Light Rays Group to a parent GameObject. Child rays automatically use the nearest group in their hierarchy.
| Intensity | Multiplies ray intensity for the group. |
| Tint | Applies a shared color tint. |
| Animation Speed | Speeds up or slows down ray motion. |
Global Controller
Create it from the Inspector button or Tools → Light Rays 2D → Create Global Controller. It applies scene-wide intensity, tint and animation speed multipliers.
Suggested hierarchy: use one Global Controller for time-of-day, then local Groups for rooms, biomes or cutscene areas.