I have these lines in my game that rotate with the player and indicate what they can or can not see.
How would I make it so that everything outside of those lines is greyed out, or is slightly darker than what you are able to see, drawing more attention to that area?
I've tried using transparent sprites and a grey layer, but I'm not sure how to get it to always be the same shape as the area in-between the lines.
Thanks!