How to set up Light2D in a TileMap

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

Hi,

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?

Thanks!

Edit: Picture Link: Imgur: The magic of the Internet

:bust_in_silhouette: Reply From: Kapuetze

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.