# SetFogSunColor

## Description

Sets the 3D fog sun color. This is used in place of the normal fog color when the camera is facing the sun, as defined by the command SetSunDirection. This can be used to simulate light scattering effects to make the air seem hazy. The fog sun color should be close to the sun color for best effect, but this need not be the case. Note that calling this command changes the fog calculation to a more complicated version that will reduce performance on mobile devices. To return to the faster method of calculating fog, make the fog sun color equal to the normal fog color.

## Definition

SetFogSunColor( red, green, blue )

void agk::SetFogSunColor( int red, int green, int blue )

## Parameters

- red - The red component of the color.
- green - The green component of the color.
- blue - The blue component of the color.