Light2D inside Light Occluders should have an option to stay in shadows #6000
diegomachado
started this conversation in
2D
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
A long time ago I've opened this issue where closed shape light occluders shouldn't be lit when there's a Light2D inside them. There is a minimal reproduction project on the issue for anyone interested.
For my project I've been using light occluders to cast wall shadows with moving lights, but when a light 'enters' a wall it wouldn't make sense for it to be lit, since it's not hollow inside. (hope this makes sense)
I don't know in terms of Godot's architecture what would be the best solution, but it would help me a lot having an option to toggle the behavior of the light when it's inside light occluders.
Beta Was this translation helpful? Give feedback.
All reactions