SetFogColor
This function sets the fog color. Fog must be enabled before it will appear.
Syntax
- void SetFogColor(const float r, const float g, const float b, const float a)
Parameters
- r: red component of the fog color.
- g: green component of the fog color.
- b: blue component of the fog color.
- a: alpha component of the fog color. This is used to control fog density.