SetExpFog( <startDist>, <halfwayDist>, <red>, <green>, <blue>, <transition time> )


Module: Effects

Summary:

Creates an exponential fog.



Example:

SetExpFog( 0.0001144, 131/255, 116/255, 71/255, 0 );



Required Args:

  • 1 : <startDist> The distance, in world units, at which the fog begins.
  • 2 : <halfwayDist> The distance, beyond the startDist, at which the scene will be 50% fogged.
  • 3 : <red> The red component of the fog as a value between 0.0 and 1.0
  • 4 : <green> The red component of the fog as a value between 0.0 and 1.0
  • 5 : <blue> The red component of the fog as a value between 0.0 and 1.0
  • 6 : <transition time> transition time in seconds