BBMOD_Light

Extends BBMOD_Class

constructor

new BBMOD_Light()

Description

Base class for lights.

Properties

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 © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.