ItsMods
[Tutorial] Set Exponential Fog - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Tutorial] Set Exponential Fog (/Thread-Tutorial-Set-Exponential-Fog.html)



Set Exponential Fog - Yamato - 07-27-2011

Hello, Awesome

Another tutorial, Nyan Cat , this time is about the setExpFog command, what it does, is create a exponential fog, is mainly used in game art for vision, Smile

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 );

Nyan Cat says that thats all


RE: Set Exponential Fog - Twizzy - 07-25-2012

(07-27-2011, 17:33)Yamato Wrote: Hello, Awesome

Another tutorial, Nyan Cat , this time is about the setExpFog command, what it does, is create a exponential fog, is mainly used in game art for vision, Smile

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:

Quote: 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 );

Nyan Cat says that thats all

what is the red part for? and why is it grouped?


RE: Set Exponential Fog - OrangePL - 07-25-2012

sun max opacity