From 662de635aae39da99d507a3e3a513c7d4ec615a1 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 7 Apr 2026 17:02:38 +0900 Subject: [PATCH] Update woodRingFloorLamp.ts --- packages/frontend/src/utility/room/objects/woodRingFloorLamp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/utility/room/objects/woodRingFloorLamp.ts b/packages/frontend/src/utility/room/objects/woodRingFloorLamp.ts index 37721e925f..233664020c 100644 --- a/packages/frontend/src/utility/room/objects/woodRingFloorLamp.ts +++ b/packages/frontend/src/utility/room/objects/woodRingFloorLamp.ts @@ -63,7 +63,6 @@ export const woodRingFloorLamp = defineObject({ for (const lamp of lamps) { const light = new BABYLON.SpotLight('', new BABYLON.Vector3(0/*cm*/, 0/*cm*/, 0), new BABYLON.Vector3(0, -1, 0), Math.PI / 1, 2, scene, room?.lightContainer != null); light.parent = lamp; - light.range = 100/*cm*/; if (room?.lightContainer != null) room.lightContainer.addLight(light); lights.push(light); } @@ -84,6 +83,7 @@ export const woodRingFloorLamp = defineObject({ const applyLightBrightness = () => { for (const light of lights) { light.intensity = 10000 * options.lightBrightness; + light.range = 200/*cm*/ * options.lightBrightness; } for (const lamp of lamps) { const emissive = lamp.material as BABYLON.PBRMaterial;