SetFogColor

Definition

SetFogColor(float red, float green, float blue)

Description

This function sets the fog color.

Parameters

red, green, blue
Specify the red, green and blue components of fog color. Each of these three values must be in the range [0.0,1.0].

Example

function Init()
    SetFogColor(0.25, 0.5, 0.7)
end

function Update()

end
In this example, we set the red, green, and blue components of fog color to 0.250.5, and 0.7, respectively.
adminSetFogColor