Search Unity

Help with Fog effect for a project I'm working on

Discussion in 'Editor & General Support' started by Xiraxis, Sep 9, 2011.

  1. Xiraxis

    Xiraxis

    Joined:
    Sep 9, 2011
    Posts:
    10
    Hey Guys,

    We're making a game for a school project and need some help with the fog effect.
    Basically it's silent hill ish adventure game in a town surrounded by a mysterious fog (which acts like a wall, players cant get trough)
    In the center of the town is a building that let's you control where the fog disappears (in a cone) so you can access a new area.

    I tried to make some fog with particles, but 1 it was quite intensive and 2 it looked more like smoke (cause it kept spawning particles instead of just a fe and then just hang around there)

    I have no clue how to make this fog :( it's a shame since it's quite a part of our story/design and mechanics.
    Can anyone help please ;)
     
  2. Shigeru

    Shigeru

    Joined:
    Sep 7, 2011
    Posts:
    32
    Last edited: Sep 9, 2011
  3. Xiraxis

    Xiraxis

    Joined:
    Sep 9, 2011
    Posts:
    10
    But these settings are for global fog right?
    I need to make "fog walls" that kinda act like invisible walls and can be triggered
     
  4. Shigeru

    Shigeru

    Joined:
    Sep 7, 2011
    Posts:
    32
    Ahh okay sorry, then I misunderstood your question/problem.

    Hmm I made sand storms with particles without performance problems.

    Just increase the size of the particles and lower the numbers.

    That should give an useful effect.
    If you have unity pro then use occlusion culling to get better performance.

    Shigeru
     
  5. Xiraxis

    Xiraxis

    Joined:
    Sep 9, 2011
    Posts:
    10
  6. Screenhog

    Screenhog

    Joined:
    Jul 2, 2009
    Posts:
    498
    Did you try Shigeru's suggestion? Did it work?
     
  7. wwg

    wwg

    Joined:
    Apr 2, 2014
    Posts:
    130
    I'm also interested in doing something like this. I'd like to have a "wall" of fog surrounding my level and trigger it when a layer collides with it. The visual "fog" appearance is important, as it will hide the end of my world. Does anyone have any suggestions for this? Did Shigeru's suggestion work?

    Thanks.