304

Lighting your world
Using common lighting features

  • Point lights and spot lights also have:
  • location - position
  • radius - maximum lighting distance
  • attenuation - drop off with distance
  • Directional lights and spot lights also have
  • direction - aim direction