Different Lights in Unity

the creation of the control room is progressing, but it’s all very dark, so it seems like a good time to introduce lights and talk about the various types of lights we can use in Unity.

Directional Light

First of all, we have the directional light that we usually expect already in every new scene. This light is the global illumination of the scene. We can change mainly its intensity and direction. This, according to our settings, will influence the shadows of our objects in the scene.

Point Light

The Point Light is a light inserted in a space. Its position is relevant because, according to its positioning, it illuminates in all directions. The amplitude and intensity are the main parameters we can modify for this element.

Spotlight

Similar to the Point Light, it does not illuminate in all directions but only in the cone-shaped region, it points.

Area Light

The image is taken from the Unity website

This type of light can be of two shapes, rectangular or circular. They illuminate the entire selected area according to their intensity. These lights cannot be used in real-time but must be entered into the light map.

This was just a small overview of the lights that Unity provides. For more details on the topic, I recommend you take advantage of the official unity documentation and experiment directly with a project.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrea Alicino

Andrea Alicino

Unity developer and C# programmer. Currently looking for games industry employment.