374
Lighting the environment
SpotLight Class Methods
Method
Default
SpotLight( )
-
void setDirection( Vector3f dir )
0.0, 0.0, -1.0
void setSpreadAngle( float angle )
PI
void setConcentration( float concen )
0.0
Spread angle varies from 0.0 to PI/2.0 radians
A value of PI radians makes the light a
PointLight
Concentrations vary from 0.0 (unfocused) to 128.0 (focused)