Quiz
- What is the difference between spotlight and directionallight?
Several. First, light rays from a directional light are all the same vector at every vertex, which simplifies the calculations a little, compared to a spotlight, where the direction to the light has to be calculated at each vertex.
Second, a spotlight has a cutoff angle, when it's no longer visible, and an intensity exponent, which also affects the intensity as a function of angle. Neither of those apply to directional lights.