0 votes

Hi there,

I'm trying to mask a light source with another light source with no success.

https://drive.google.com/file/d/1l8MFpq1CJ663OOOOPsR8Vvd4xQf1IoV6/view?usp=sharing

In the linked screenshot you can see that the light on the player (light A) is being blocked by a wall on the left, casting shadows (This light2d is in mode MASK). However the the light source on the left (light B) is still visible. This is because in the tree node light A comes before light B. I want light B to be shadowed by light A, however, I also want it to be unaffected by light A's texture. Is there a "standard" way of doing it?

in Engine by (12 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.