Spherical Lighting
Cocos Creator 3D uses spherical light instead of point lighting, because physical light sources in the real world have light source size attributes.
Parameter | Description |
---|---|
Color | Light source color |
UseColorTemperature | Whether to enable color temperature |
ColorTemperature | Color temperature |
Size | Light source size |
Range | Lighting impact range |
Term | Selected unit for light intensity Spherical light supports two unit system: luminous power and luminance |
LuminousPower | Luminous power in lumens (lm) When Term is specified as LUMINOUS_POWER, lumen is used to indicate the light intensity |
Luminance | Brightness, unit Candela per square meter (cd/m2</ sup>) When Term is specified as LUMINANCE, brightness is used to indicate light intensity |
Continue to the Spotlight documentation.