Dark (hidden) area on map/scene

Hey guys, not sure if this thread fits this category, but I couldn’t figure out any better place to post this. Well, i’m looking for a way of making a hidden area on my scene for my multiplayer strategy game. I want to make visible only what’s close to the player’s pawns, and make darker the rest of the scene, also, I need to hide the other player’s (enemy) pawns on screen and on the minimap, like a moba game. I tried and failed to find anything like this on the forum, and haven’t got much of a idea of how to start it. I used to use UDK as my engine, in wich I’d do this with volumes, but changed to Unity, because I know how better it is to create visual/scripts of my own on it. I’d appreciate very much if you guys could give me some hints or link me some people that were looking for the same thing and managed to do it. Thank you!

What I’m looking for HERE (darker area and the minions out of it)

Hello NicolasAmaral.

You could define the distance between your enemies and your character by script, then disable the renderer component of your enemies if they’re too far. I don’t play at LOL, but I think that is what happens when enemies are too far from the player.

Thank you, mate. I shall take a look at that.

This looks like it could be accomplished with a light - with shadow falloff.

In RTS games this could be something similar to the fog of war effect. May want to do a search on that if robin blanc’s suggestion doesn’t work or a light with falloff doesn’t work.