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

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 :frowning: it’s a shame since it’s quite a part of our story/design and mechanics.
Can anyone help please :wink:

Go to edit-render settings

There you can change the fog settings. Also fog color :slight_smile: And it needs nearly zero performance

Edit:

Found it! look here

http://unity3d.com/support/documentation/Components/class-RenderSettings.html

But these settings are for global fog right?
I need to make “fog walls” that kinda act like invisible walls and can be triggered

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

bump :stuck_out_tongue:

Did you try Shigeru’s suggestion? Did it work?

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.