SetSkyBoxSunColor

Description

Sets the color of the sun, if visible. By default this is 255,230,179. Colors should be in the range 0 to 255, although this is not limited and values outside this range will be accepted, including negative values. Note that due to the way the sun color is added to the sky color, sun colors darker than the sky color may result in an unexpected sun color where one or more color components is completely missing. If this happens then scaling up the sun color, going above 255 if necessary, will remove it. The sun color has some affect on the size of the sun in addition to SetSkyBoxSunSize, with brighter colors making it bigger.

Definition

SetSkyBoxSunColor( red, green, blue )

Parameters