SetSkyAdjust

Category: Sky
Since engine version: 1.0 OC

Description

Sets the sky color modulation. The sky colors will be mixed with the specified color as is done in ColorByOwner overlays.

Syntax

bool SetSkyAdjust(int colorMod, int backgroundColor);

Parameters

colorMod:
Primary color modulation.
backgroundColor:
Background color. If the alpha byte in colorMod is not 0, this color will be used as background color behind the sky. In this way you can create lighter or more desaturated skies.

Example

SetSkyAdjust(RGBa(255,255,255,127), RGB(127,127,127));
Grays out the sky.
See also: GetSkyAdjust, RGB, RGBa, SetGamma, SetMatAdjust
Sven2, 2002-05