SetSkyAdjust

Category: Sky
Since engine version: 4.9.1.0 GWE

Description

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

Syntax

void SetSkyAdjust (int dwClrMod, int dwBackClr);

Parameters

dwClrMod:
Primary color modulation
dwBackClr:
Background color. If the alpha byte in dwClrMod 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, SetSkyFade
Sven2, Mai 2002