Several different lights are available to include in a scene:
- Ambient – This light globally illuminates all objects in the scene equally. This light cannot be used to cast shadows as it does not have a direction.
- Directional – A light that gets emitted in a specific direction. This light will behave as though it is infinitely far away and the rays produced from it are all parallel. The common use case for this is to simulate daylight; the sun is far enough away that its position can be considered to be infinite, and all light rays coming from it are parallel.This light can cast shadows
- PointLight – A light that gets emitted from a single point in all directions. A common use case for this is to replicate the light emitted from a bare lightbulb.This light can cast shadows
- SpotLight – This light gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets.This light can cast shadows