Version: 2020.1
Visual Effects Components
Lens Flare

Halo

Halos are light areas around light sources, used to give the impression of small dust particles in the air.

Properties

Property: Function:
Color Color of the Halo.
Size Size of the Halo.

Details

You can add a Halo component to a Light object and then set its size and color properties to give the desired glowing effect. A Light component can also be set to display a halo without a separate Halo component by enabling its Draw Halo property.

Hints

  • To see Halos in the 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
    view, check Fx button in the Scene ViewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
    See in Glossary
    ToolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
    See in Glossary
    .
  • To override the shaderA small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input and the Material configuration. More info
    See in Glossary
    used for Flares, open the Graphics window and set Light Halo to the shader that you would like to use as the override.
A Light with a separate Halo Component
A Light with a separate Halo Component
Visual Effects Components
Lens Flare
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961