Visual Effects Reference
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
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答