1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-27 21:14:41 +02:00
This commit is contained in:
syuilo
2026-04-05 17:15:19 +09:00
parent bd0e6f3268
commit 07d57b0edd
5 changed files with 21 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ export const lavaLamp = defineObject({
light.parent = root;
light.diffuse = new BABYLON.Color3(1.0, 0.5, 0.2);
light.intensity = 300;
light.range = 100/*cm*/;
light.range = 999/*cm*/;
if (room?.lightContainer != null) room.lightContainer.addLight(light);
const sphere = BABYLON.MeshBuilder.CreateSphere('lavaLampLightSphere', { diameter: 4/*cm*/ }, scene);