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


Property Description
Color Set the light color
UseColorTemperature Whether to enable color temperature
ColorTemperature Adjust the color temperature
Size Set the light source size
Range Set the lighting impact range
Term Setup the light intensity unit type, including both LUMINOUS_POWER and LUMINANCE.
LuminousPower Luminous power in lumens (lm). Takes effect when Term is set to LUMINOUS_POWER.
Luminance Brightness in Candela per square meter (cd/m2). Takes effect when Term is set to LUMINANCE.
StaticSettings Set up static lighting, see LightMap for details

results matching ""

    No results matching ""