Syntax

dbCreateLightMaps(TextureSize, TextureQuality, LightMapSavePath.s)

Description

This command will generate light maps and apply them automatically to any objects, both static and dynamic, where specified.

 

Texture Size

Specifies the lightmap size of the texture plate that will be used to hold the lightmaps generated, the default being 16.

 

Texture Quality

Specifies the quality of the final lightmap, the default being 1.

 

LightMapSavePath

Specifies a folder that will be used to store all the lightmaps generated during this process, for better asset management.


See Also

dbAddLightMapLight, dbAddLimbToLightMapPool, dbAddObjectToLightMapPool, dbAddStaticObjectToLightMapPool, dbDeleteLightMapLights, dbFlushLightMaps