| Table of Contents | Chapter Index | Previous Slide | Next Slide | 168 |
Lighting Your world
Spot Light
Spot lights point in a direction and focus in a cone
SpotLight {
# Standard fields, plus:
location 0.0 0.0 0.0
direction 1.0 0.0 0.0
beamWidth 1.57
cutOffAngle 0.785
radius 1.0
attenuation 1.0 0.0 0.0
}