Table of Contents Chapter Index Previous Slide Next Slide 253
Syntax: SpotLight

Lighting your world
Syntax: SpotLight
  • The maximum width of a spot light's cone is controlled by the cutOffAngle field

  • An inner cone region with constant brightness is controlled by the beamWidth field

    SpotLight {
        . . .
        cutOffAngle 0.785
        beamWidth   1.571
    }