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

setActive(false) for Cone Light issue #82

Closed
adam-law opened this issue Aug 18, 2015 · 1 comment
Closed

setActive(false) for Cone Light issue #82

adam-law opened this issue Aug 18, 2015 · 1 comment

Comments

@adam-law
Copy link

When I set a PointLight to be inactive through PositionalLight.setActive(false), it doesn't get rendered, as expected. But when I do the same for a cone light, some part of it remains. The effect is as if the light was dimmed, not turned off.
light

As seen in the picture, only one of the lights is active, the one that is separate from the others, to the left; but all the other cone lights don't disappear at all, just get dimmed.

@adam-law
Copy link
Author

Sorry for this. It was due to the light being added to the Rayhandler 2x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant