Adding different types of light
In Chapter 4, Adjusting Cameras and Lights, we discussed how different types of light worked – more importantly, the kind of effect they bring to a scene. In this chapter, we’ll revisit the same topic but pursue the effort in the context of Godot.
Blender uses four light types: Sun, Point, Spot, and Area. However, Godot has only three lights, as follows:
- DirectionalLight: This is the equivalent of the Sun light in Blender. We stated directionality in the Sun light’s description. The angle of this light type is the most important since it’s an infinitely distant light source, so all its rays are considered to flow parallel to each other. So, in Godot, this concept is part of the node’s name, hence making it easier to remember.
We’ll not be using this type of light in our scene since it’s an indoor environment. Despite that, it may still be tempting to utilize it to give an overall light...