Extends BBMOD_Class


new BBMOD_Light()


Base class for lights.


Name Description
AffectLightmaps If true then the light affects also materials with baked lightmaps. Defaults to true.
CastShadows If true then the light should casts shadows. This may not be implemented for all types of lights! Defaults to false.
Enabled Use false to disable the light. Defaults to true (the light is enabled).
Position The position of the light.
ShadowmapResolution The resolution of the shadowmap surface. Must be power of 2. Defaults to 512.

See also

BBMOD_DirectionalLight, BBMOD_ImageBasedLight, BBMOD_PointLight, BBMOD_SpotLight

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.