Search Unity

RTS Fog of War

Discussion in 'Scripting' started by The-Little-Guy, Nov 10, 2017.

  1. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    I want to make fog of war in my game, and I have found some tutorials on this, but none have what I am looking for.
    • Black everywhere until character enters the area
    • Once the character leaves the area, the area becomes gray and you can still see the scenery (trees, grass, buildings, etc.)
    • The area around the character should be feathered around the edges
    Are there any tutorials out that that I can look at where I can combine these three things?

    I really like how StarCraft does fog of war, this style is my main goal
     
  2. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
  3. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    Thanks for the link! I have seen "LoS" before, but can't remember what it stands for, could you please remind me, Google wasn't much help.
     
  4. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    Line of sight.
     
    The-Little-Guy likes this.