0 votes

This is my scene, its a simple Tilemap with Light2D.
enter image description here

As you can see, it casts shadows. I don't like them however, so I'm gonna turn them off in my Light2D options.
enter image description here
Ok, the shadows are gone, but now all the walls are illuminated. I don't want that, i just want the shadows on the floor to be gone.
How do i achieve that? This is my desired effect, made by combining the two previous pictures in my GNU GIMP program.
Maybe I should use some other node rather than Light2D?
My desired effect

in Engine by (14 points)

Is the brown portion always darker? so why don't you just make it darker in the sprite?
If for some reason you dont wanna do that, asuming you are using a tilemap, you could put the brown portion in a sepparate tileamp, and change the light layer so its just not affected by the light.

Im looking for an option that'd not require me to make another tilemap for my walls, I would have to rewrite the scripts i already wrote for this single node tilemap.

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.