Create a flare and apply it to a lens flare component, then configure it to be visible by cameras.
Note: This workflow is compatible only with the Built-in 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. For similar functionality in other render pipelines, see Lens flares and halos.
There are some sample Flare assets in Unity’s Standard Assets.
Note: This workflow is compatible only with the Built-in Render Pipeline. For similar functionality in other render pipelines, see Lens flares and halos.
In the Built-in Render Pipeline, if you want a Camera to see lens flaresA component that simulates the effect of lights refracting inside a camera lens. Use a Lens Flare to represent very bright lights or add atmosphere to your scene. More info
See in Glossary, you must attach a Flare Layer component to the Camera’s GameObject.