Spot lighting

Spot lights are another type of lighting in Unity. They are meant to provide lighting on a specific spots. Common examples are flashlights and vehicle headlights. As you can see from the following screenshot, the light originates from the source in an outward cone shape:

In the Inspector panel, we can change the Range, Spot Angle, Color and Intensity. Range, in this context, refers to the distance between the light source and the furthest point in the cone. The Spot Angle is the angle of the outward exterior edge of the cone shape. The Spot Angle range is 1-179°. The larger the value is, the larger the cone face will be.

To create ...

Get Getting Started with Unity 2018 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.