257

Lighting the environment
Creating spot lights


[ ExSpotLight ]
  • SpotLight extends PointLight

  • Light rays emit radially from a point, within a cone
  • Vary the spread angle to widen, or narrow the cone
  • Vary the concentration to focus the spot light
  • Method
    SpotLight( )
    void setDirection( Vector3f dir )
  • The default aim direction is (0.0, 0.0, -1.0)