This is repost from my post from about week ago and nobody answered.
I have currently project to make a moba with C2. I started with fog of war, and I don't know how to make satisfying vision with my current knowledge.
Basically I want "realistic fog of war" where units cannot see behind objects, and vision stacks from multiple sources. Vision shows objects with "team" variable same as oberserver's and hides others.
I can achieve simple fog of war with black spheres in layer with "destination in" blending, but you can still see behind walls. I tried to use shadowligth, but multiple lights make glitchy shadows.
I think tile-based map is best for this, but it would be strange as heroes etc. would still move around with 360 degrees 8direction, plus map would be one huge constantly updating lagfest.