I need help making fog of war / field of view for a top down game

I want something that looks like this

in terms of actual functionality I have no problem with that, it’s a mix of raycasting and lookvector maths but I am struggling to make a good indicator like in the image. basically, everything is darkened except where the player is looking at and whatever is behind something in the player’s field of view.

no, I’m not going to use lights, it functions like light but I’m not using light because it’s not practical at all…