diff --git a/packages/frontend/src/world/room/objects/ductRailSpotLights.ts b/packages/frontend/src/world/room/objects/ductRailSpotLights.ts index 21da2b53df..9262dc743a 100644 --- a/packages/frontend/src/world/room/objects/ductRailSpotLights.ts +++ b/packages/frontend/src/world/room/objects/ductRailSpotLights.ts @@ -46,7 +46,7 @@ export const ductRailSpotLights = defineObject({ default: { bodyColor: [0.05, 0.05, 0.05], lightColor: [1, 0.5, 0.2], - lightBrightness: 0.5, + lightBrightness: 0.2, angleV: 0.75, angleH: 0.5, }, @@ -88,8 +88,8 @@ export const ductRailSpotLights = defineObject({ const applyLightBrightness = () => { for (const light of lights) { - light.intensity = 3 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE; - light.range = cm(300) * getLightRangeFactorByGraphicsQuality(graphicsQuality); + light.intensity = 5 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE; + light.range = remap(options.lightBrightness, 0, 1, cm(200), cm(400)) * getLightRangeFactorByGraphicsQuality(graphicsQuality); } for (const lamp of lamps) { const emissive = lamp.material as BABYLON.PBRMaterial; diff --git a/packages/frontend/src/world/room/objects/spotLight.ts b/packages/frontend/src/world/room/objects/spotLight.ts index 0494d1828b..3021502350 100644 --- a/packages/frontend/src/world/room/objects/spotLight.ts +++ b/packages/frontend/src/world/room/objects/spotLight.ts @@ -46,7 +46,7 @@ export const spotLight = defineObject({ default: { bodyColor: [0.05, 0.05, 0.05], lightColor: [1, 0.5, 0.2], - lightBrightness: 0.5, + lightBrightness: 0.2, angleV: 0.75, angleH: 0.5, }, @@ -79,8 +79,8 @@ export const spotLight = defineObject({ applyLightColor(); const applyLightBrightness = () => { - light.intensity = 3 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE; - light.range = cm(300) * getLightRangeFactorByGraphicsQuality(graphicsQuality); + light.intensity = 5 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE; + light.range = remap(options.lightBrightness, 0, 1, cm(200), cm(400)) * getLightRangeFactorByGraphicsQuality(graphicsQuality); const emissive = lamp.material as BABYLON.PBRMaterial; emissive.emissiveIntensity = options.lightBrightness * 100; };