Hello, I am planning on doing a project-zomboid like camera system where the areas that are not visible to the player character’s eyes are just greyed out and the areas behind walls etc. are pitch black, I am thinking of using raycasting to check what the player character can see but I have no idea how to make the areas not visible just pitch black/greyed out
I think my explanation sucks so here’s an example: https://youtu.be/mYKdNgM3gV0?t=117
It’s not the best but It should work