SetMatAdjust

Category: Landscape
Since engine version: 1.0 OC

Description

Sets the material drawing modulation. The material colors will be modulated with the specified color in the same way as ColorByOwner graphics.

Syntax

bool SetMatAdjust(int colorMod);

Parameter

colorMod:
Primary color modulation.

Example

SetMatAdjust(RGBa(255,127,127,127));
Makes the materials reddish and semi transparent.
See also: RGB, RGBa, SetGamma, SetSkyAdjust
Sven2, 2002-05