Godot Version
4.2.2
Question
I am making 2D multiplayer game where players are digging underground. The lightning is a huge part of this game and I am having trouble with some aspects.
I want that the player would not see other light sources if they are not in the vision range, vision range is made with PointLight2D. For example, if there is a light source on the next corner, the player should only see the light that is coming into his vision range and not see through walls the entire light source.