07-27-2011, 17:33
Hello, 
Another tutorial,
, this time is about the setExpFog command, what it does, is create a exponential fog, is mainly used in game art for vision, 
It works like this(sorry, contains lot of parametres if you want to use it properly, if you use all functions until sun red, will work too):
If I am wrong in something, comment about it.
An example of its use:
says that thats all

Another tutorial,


It works like this(sorry, contains lot of parametres if you want to use it properly, if you use all functions until sun red, will work too):
Code:
setExpFog( start distance, halfway distance, red, green, blue, max opacity, transition time, sun red, sun green, sun blue, sun max opacity, sun direction, sun begin fade angle, sun end fade angle )
If I am wrong in something, comment about it.
An example of its use:
Code:
setExpFog( 101, 50.5, 0.66, 0.83, 1, 0.14, 0, 0.82, 0.79, 0.49, (-0.75,-0.29,0.58), 3.54, 76.38, 1.16 );
