1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-01 23:44:17 +02:00
This commit is contained in:
syuilo
2026-04-19 13:21:21 +09:00
parent aaab1e7260
commit 664ca528fe
9 changed files with 12 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ export const woodRingsPendantLight = defineObject({
const lamp = model.findMesh('__X_LAMP__');
const light = new BABYLON.PointLight('', new BABYLON.Vector3(0, 0, 0), scene, room?.lightContainer != null);
light.parent = lamp;
light.radius = cm(5);
if (room?.lightContainer != null) room.lightContainer.addLight(light);
const applyLightColor = () => {