SetAmbientBrightness

Category: Landscape / View
Since engine version: 6.0 OC

Description

Changes the brightness of the ambient light. In regions with less than 100% ambient light, light sources such as Clonks will generate dynamic light.

Syntax

void SetAmbientBrightness(int brightness);

Parameter

brightness:
New ambient brightness value. The value should be between 0 and 100, where 0 means no ambient light and 100 means full ambient light.

Example

SetAmbientBrightness(0);
Disables ambient lighting completely, so that everywhere on the map only dynamic light sources make light.
See also: GetAmbientBrightness
Clonk-Karl, 2014-11