Important: The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
For more information on migration, refer to Migrating from the Built-In Render Pipeline to the Universal Render Pipeline and Render pipeline feature comparison.
Resources and techniques for creating lens flares lighting effects, which can add atmosphere to your scene.
| Topic | Description |
|---|---|
| Introduction to lens flare effects | Understand how Unity manages lens flares, which simulate the effect of lights refracting inside a camera lens. |
| Lens flares in URP | Resources and techniques for creating and configuring lens flares in the Universal Render Pipeline (URP). |
| Lens flares in the Built-In Render Pipeline | Resources and techniques for creating lens flares lighting effects in the Built-In Render Pipeline. |
How you work with lens flare depends on the render pipeline you use.
| Feature name | Universal Render Pipeline (URP) | High Definition Render Pipeline (HDRP) | Built-in Render Pipeline |
|---|---|---|---|
| Lens flares | Yes Use a Lens Flare (SRP) Data Asset and a Lens Flare (SRP) component, or a Screen Space Lens Flare override. |
Yes Use a Lens Flare (SRP) Data Asset and a Lens Flare (SRP) component, or a Screen Space Lens Flare override. |
Yes Use a Flare asset and, optionally, a Lens Flare component. |