What is the best way to achieve natural lighting with transparent roofs?

Godot Version

4.3

Question

In my game, the player is controlled from a top-down view, similar to Zelda or Overcooked.

I would like to implement a transparent roof that does not allow sunlight to pass through. Since it’s a top-down view, the roof should be invisible to the player, but sunlight should not penetrate the ‘invisible’ roof.

How can I achieve this?

Looking forward to your tips as always! Thank you in advance :slight_smile:

If this is 3D, go to the geometry tab of your meshinstance3D and change shadows to shadows only.