0 votes

I have a simple test project with two Light2Ds and one LightOccluder2D.
One of the Lights should bathe the area behind the occluder in total darkness and the other one should be able to light this area up (in red).
However, the second light was not visible.

I put both lights in their own CanvasLayer and now the second light is visible, most of the time.
But sometimes, without me changing anything, just closing and restarting the game, it's not visible.

I have a video showing the problem and also (hopefully) all relevant settings:
Video on Youtube

Can anyone tell me what I'm doing wrong here? Or is this an issue of the engine and if so is there a workaround?

in Engine by (14 points)

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.