Resources and techniques for creating lens flares lighting effects, which can add atmosphere to your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary.
Topic | Description |
---|---|
Introduction to lens flare effects | Understand how Unity manages lens flares, which simulate the effect of lights refracting inside a cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info See in Glossary lens. |
Lens flares in URP | Resources and techniques for creating and configuring lens flares in the Universal Render PipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info See in Glossary (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. |