Spherical Lights

Cocos Creator 3.0 uses Spherical Lights instead of Point Light because Point Light ignores volume, but physical light in the real world have a light size property.

sphere light

To add the spherical light to the scene, refer to the Lighting for details.

For the related interface of the spherical light component, please refer to the SphereLight API.

Spherical Lights Properties

image

PropertyDescription
ColorSet the light color
UseColorTemperatureWhether to enable color temperature
ColorTemperatureAdjust the color temperature
SizeSet the light source size
RangeSet the lighting impact range
TermSetup the light intensity unit type, including both LUMINOUS_POWER and LUMINANCE.
LuminousPowerLuminous power in lumens (lm). Takes effect when Term is set to LUMINOUS_POWER.
LuminanceBrightness in Candela per square meter (cd/m2). Takes effect when Term is set to LUMINANCE.
StaticSettingsSet up static lighting, see Lightmapping for details