fog

Hey all,
I am brand new to unity, but have a solid 3d background.
I am making my first project ( building in maya ) and I need to make animated fog. Can anyone point me in the right direction for this?

thanks lots!
Oh, also, does unity support normal and specular maps?

~ CP

yes it does, even the 3D platformer demo is using normal map i guess.

Unity have a built-in fog feature too, but it’s static (never play around with it though, maybe there is a way to animate it :stuck_out_tongue: )

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

you can always script the Density Color to make it look animated :stuck_out_tongue:

or maybe you can use particles or
playing around with plane alpha map… like a billboard with really low opacity ??? :stuck_out_tongue:

Working with large particles works pretty well.

You’ll need to set the particles to animate color over time and there set the alpha value very low (like ranging from 0 to 7% then to 3% and to 0 again). Also be sure to set the particles not to become smaller towards the camera or it will look weird.

You can get pretty cool results with it. Be aware that loads of alpha particles can be very expensive and cause some alpha sorting problems (which might result in other unexpected graphic glitches with interpolated alphas).

Together with the built-in static fog you can achieve pretty good fake volumetric fog :slight_smile:

Thanks potan :wink: