Light shining through a tile map occlusion layer

Godot Version

4.7

Question

I’ve been trying to get shadows working on a tilemap, but the occlusion layer seem to not have the same options available as a regular light occluder node.

In this image on the left are sprites with light occluder nodes, with “cull_mode” set to “clockwise”, and they work exactly how i want them to, but on the right is a tilemap with an occlusion layer and i haven’t seen any options to achieve the same effect, so the light just shines through the tiles regardless of the shadows.


The light shines on layer 1 and has shadows on layer 3, the sprites on the left are on layers 1 and 3 with occluder nodes on layer 3, and the only difference in the tilemap is it doesn’t have a light mask on layer 3 as that just makes the tiles fully black.

Am i missing some setting or is this just impossible to do in an easy way?