Light2D, Mix mode, and Light Masks. Can't seem to have 2 light masks active?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wallyfoo

I have as simple a reduction as I can manage. The end goal is to make a hex map that shows a version of a map whether a space has been visited or not.

I went with light2d nodes in mix mode. I have two sprites in the scene, one light mask 1, the other light mask 2.

I have 2 light2d in the scene. One light mask 1, the other light mask 2. See where this is going?

Everything is configured to use mix mode, the canvas material for the sprites is set mix, light only. And they both work! For the sprite on mask layer 1.

Both lights, regardless of light mask show the sprite on layer 1 and that’s it. I thought that what’s supposed to happen is the the sprite on mask 1 picks up light on mask 1, and the sprite on mask 2 is supposed to pick up the light on mask 2.

Am I missing something obvious here? Or is this a bug? A limitation in Godot?

If anyone can provide some insight, I’d appreciate it.

I put a zip of the test scene on my dropbox if anyone wants to see.