diff --git a/web/src/beta/lib/core/engines/Cesium/hooks.ts b/web/src/beta/lib/core/engines/Cesium/hooks.ts index 42e515cbd..e876ca50b 100644 --- a/web/src/beta/lib/core/engines/Cesium/hooks.ts +++ b/web/src/beta/lib/core/engines/Cesium/hooks.ts @@ -132,6 +132,16 @@ export default ({ : undefined, intensity: property.light?.lightIntensity, }); + } else { + light = cesium.current?.cesiumElement?.scene.light; + if (light) { + light.color = property?.light?.lightColor + ? Color.fromCssColorString(property.light.lightColor) + : light.color; + light.intensity = property?.light?.lightIntensity + ? property.light.lightIntensity + : light.intensity; + } } return light; }, [