Game Development Reference
In-Depth Information
The spotInnerAngle and spotOuterAngle parameters define the size of the light
cone that spotlight produces and both are set in radians. The spotInnerAngle para-
meter defines how far out the cone will shine at its maximum radiance. The
spotOuterAngle parameter then defines how far the total extent of the radiance
should be before it's been completely extinguished. Having a greater value for the
spotOuterAngle parameter will produce a softer edge on the spotlight. A spotlight
with a small spotInnerAngle parameter and a high spotOuterAngle parameter
will have softer edges, as shown in the following image:
Search WWH ::




Custom Search