[TUTORIAL] Fog Of War

I did some work on this for mutliplayer, not as hard as I thought but the issue is performance related, mostly because…

  1. The server is calculating visible pixels for 2 FOWManagers (1 for each team)
  2. Each client has their own version too, so if I test this on my rig I’m essentially running 4 FOW managers

I solved some of this by only running blurring on the client (server doesn’t care for visuals!). I could network UnfoggedData and remove the LineTraceTest from the client too, I’ll see how that goes.

EDIT: Now that I think about it, it’s only an issue for me developing. Players connected to the server will only be running one instance of it. Still, it would be useful to seperate the visibility calculation from the display/blurring.