307

Lighting your world
Syntax: SpotLight

  • A SpotLight node illuminates from a point, in one direction, within a cone


    [ sptlite.wrl ]
    SpotLight {
        location  0.0 0.0 0.0
        direction 1.0 0.0 0.0
        intensity 1.0
        color 1.0 1.0 1.0
        cutOffAngle 0.785
    }