mrdoob/three.js — pull request #5078 by sgrif (2014-07-17 15:58:23+00:00)
Title: Add penumbra angle to spotLight

Add an additional option to `THREE.SpotLight` called `penumbraAngle`.
This angle will be added to the angle of the spotlight to create a
"falloff" cone. The area within both cones is lit as normal. The area
outside of the falloff code is not lit. The area between the inner and
falloff cones is smoothly faded away as it approaches the edge of the
falloff cone.

Before:

![screen shot 2014-07-17 at 9 52 16 am](https://cloud.githubusercontent.com/assets/1529387/3615664/e73df16c-0dca-11e4-8b83-1a8a64b48155.png)

After (10 degree penumbra):

![screen shot 2014-07-17 at 9 52 13 am](https://cloud.githubusercontent.com/assets/1529387/3615669/effa82b6-0dca-11e4-9739-97a02504fc51.png)