0 votes


I am struggling as to how to set up my Light2D in a TileMap.
The best I got is a Light on a canvas below the tilemap. But I want it inside the black walkable area, so the exact opposite (see screenshot).
The light is omitted by the blue sprite.
The Light Mask is set to 1 for everything

Walkable area is black

Is there anything I need to set up in the TileMap itself?


Edit: Picture Link: https://imgur.com/a/Nrx1MLX

asked Apr 13 in Engine by Kapuetze (21 points)
edited Apr 13 by Kapuetze

1 Answer

+1 vote
Best answer

I noticed that the light does not work on the black surface I used.

I modulated the color of the TileMap and then the light showed as expected.

answered Apr 14 by Kapuetze (21 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 How to use this Q&A? before posting your first questions.