Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add penumbra angle to spotLight #5080

Closed
wants to merge 1 commit into from

Commits on Jul 17, 2014

  1. 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.
    sgrif committed Jul 17, 2014
    Configuration menu
    Copy the full SHA
    9ae5dbf View commit details
    Browse the repository at this point in the history