Syntax

dbAddLightMapLight(x.f, y.f, z.f, Radius.f, Red.f, Green.f, Blue.f, Brightness.f, Shadow)

Description

This command will add a virtual static light to the static universe, for later calculation with the dbCreateLightMaps command.

 

Radius

The radius of the light to be taken into account when creating the light maps in the scene.

 

Brightness

Specifies a value from 0 to 255 indicating the brightness component of the color of the light.

 

Shadow

Specifies whether the light can cause static objects to cast a shadow, a useful optimization flag.

See Also

dbAddLimbToLightMapPool, dbAddObjectToLightMapPool, dbAddStaticObjectToLightMapPool, dbCreateLightMaps, dbDeleteLightMapLights, dbFlushLightMaps