Lens Flares simulate the effect of lights refracting inside camera lens. They are used to represent really bright lights or, more subtly, just to add a bit more atmosphere to your scene.
Otherwise, create an empty GameObject with GameObject->Create Empty from the menu bar and add the Lens Flare Component to it with Component->Effects->Lens Flare. Then choose the Flare in the Inspector.
To see the effect of Lens Flare in the Scene View, check the Effect drop-down in the Scene View toolbar and choose the Flares option.
|Flare||The Flare to render. The flare defines all aspects of the lens flare’s appearance.|
|Color||Some flares can be colorized to better fit in with your scene’s mood.|
|Brightness||How large and bright the Lens Flare is.|
|Fade Speed||How quickly or slowly the flare will fade.|
|Ignore Layers||Select masks for layers that shouldn’t hide the flare.|
|Directional||If set, the flare will be oriented along positive Z axis of the game object. It will appear as if it was infinitely far away, and won’t track object’s position, only the direction of Z axis.|
You can directly set flares as a property of a Light Component, or set them up separately as Lens Flare component. If you attach them to a light, they will automatically track the position and direction of the light. To get more precise control, use this Component.
Did you find this page useful? Please give it a rating: