0 votes

I have multiple lights but can only set lights to render layer 1 others are not working, don't respond to light when activated/deactivated is this an issue or am I doing something wrong.

in Engine by (348 points)

Would you share a minimal project reproducing your setup? I use light layers and work fine on my end.

1 Answer

+1 vote

it's solved now. the problem was I tought you had to match the sprite node's light mask layer with the Light2D light mask layer, when in fact is the Lights2D item cull mask layer in the range property that has to match.

by (348 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.