0 votes

Hi there!

So I'll get straight to the point. I have a Light2D on my player character, and a LightOccluder2D on my wall tile. Currently, the shadows being cast from a wall tile are overlapping onto the wall sprites next to it. Is there any way to prevent this, or to make the shadow pass under the sprite, perhaps?

LightOccluder2D settings:
Closed: True
Cull Mode: Clockwise

Picture of problem:
https://ibb.co/LR6vJn2

Picture of what I'm trying to achieve:
https://ibb.co/1JvW8Hb

I've tried changing the Z-Index of the wall sprite (trying to get the shadow to pass under the sprite), to no avail. Maybe I'm doing something wrong though?

Any and all help would be appreciated!

Many thanks,
- Dan

in Engine by (12 points)

1 Answer

0 votes

How did you solve this problem?

by (47 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 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.