Black Ops III

SetExpFog

Creates an exponential fog.

Example:

SetExpFog(.0001144, 131/255, 116/255, 71/255, 0)

Parameters

ParameterSummary
*startDistThe distance, in world units, at which the fog begins.
*halfwayDistThe distance, beyond the startDist, at which the scene will be 50% fogged.
*redThe red component of the fog as a value between 0.0 and 1.0
*greenThe red component of the fog as a value between 0.0 and 1.0
*blueThe red component of the fog as a value between 0.0 and 1.0
*transition timetransition time in seconds

* = mandatory