252

Lighting the environment
Creating directional lights


[ ExDirectionalLight ]
  • DirectionalLight extends Light

  • Light rays are parallel and aim in one direction
  • Method
    DirectionalLight( )
    void setDirection( Vector3f dir )
  • The default aim direction is (0.0, 0.0, -1.0)