mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-06 08:44:06 +02:00
Update tv.ts
This commit is contained in:
@@ -41,7 +41,7 @@ export const tv = defineObject({
|
|||||||
const light = new BABYLON.SpotLight('', new BABYLON.Vector3(cm(0), cm(30) / Math.abs(scale.y), 0), new BABYLON.Vector3(0, 0, 1), Math.PI / 1, 2, scene, room?.lightContainer != null);
|
const light = new BABYLON.SpotLight('', new BABYLON.Vector3(cm(0), cm(30) / Math.abs(scale.y), 0), new BABYLON.Vector3(0, 0, 1), Math.PI / 1, 2, scene, room?.lightContainer != null);
|
||||||
light.parent = model.root;
|
light.parent = model.root;
|
||||||
light.diffuse = new BABYLON.Color3(1.0, 1.0, 1.0);
|
light.diffuse = new BABYLON.Color3(1.0, 1.0, 1.0);
|
||||||
light.range = cm(150);
|
light.range = cm(200);
|
||||||
light.radius = cm(40);
|
light.radius = cm(40);
|
||||||
if (room?.lightContainer != null) room.lightContainer.addLight(light);
|
if (room?.lightContainer != null) room.lightContainer.addLight(light);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user