How to make tiles that occlude shadows but not themselves in Godot 4

Godot 4

I’m trying to get the tiles in a tilemaplayer to create a shadow instead of casting a shadow on themselves. I’m using a DirectionalLight2D for “darkness” and a PointLight2D for light.

like that: Like that, you can see the tiles but not behind them

Add an occlusion layer to the tile set, create occlusion polygons for tiles and enable shadow casting for the light.

I already tried it (sorry for not giving that information). The problem is that the tiles are occluding themselves

Add another layer over it.

I solved it the problem was that I confused light mask and item cull mask /: thanks for the reply

Hey, I have the same issue, could you maybe explain in more detail how to do this?