mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 19:04:04 +02:00
Update engine.ts
This commit is contained in:
@@ -1428,8 +1428,8 @@ export class RoomEngine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private turnOnRoomLight() {
|
private turnOnRoomLight() {
|
||||||
this.roomLight.intensity = 150000;
|
this.roomLight.intensity = 100000;
|
||||||
this.envMapIndoor.level = 0.5;
|
this.envMapIndoor.level = 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
private turnOffRoomLight() {
|
private turnOffRoomLight() {
|
||||||
@@ -1741,7 +1741,6 @@ export class RoomObjectPreviewEngine {
|
|||||||
|
|
||||||
this.envMapIndoor = BABYLON.CubeTexture.CreateFromPrefilteredData('/client-assets/room/indoor.env', this.scene);
|
this.envMapIndoor = BABYLON.CubeTexture.CreateFromPrefilteredData('/client-assets/room/indoor.env', this.scene);
|
||||||
this.envMapIndoor.boundingBoxSize = new BABYLON.Vector3(500/*cm*/, 500/*cm*/, 500/*cm*/);
|
this.envMapIndoor.boundingBoxSize = new BABYLON.Vector3(500/*cm*/, 500/*cm*/, 500/*cm*/);
|
||||||
this.envMapIndoor.level = 0.25;
|
|
||||||
|
|
||||||
this.camera = new BABYLON.ArcRotateCamera('camera', -Math.PI / 2, Math.PI / 2.5, 300/*cm*/, new BABYLON.Vector3(0, 90/*cm*/, 0), this.scene);
|
this.camera = new BABYLON.ArcRotateCamera('camera', -Math.PI / 2, Math.PI / 2.5, 300/*cm*/, new BABYLON.Vector3(0, 90/*cm*/, 0), this.scene);
|
||||||
this.camera.attachControl(this.canvas);
|
this.camera.attachControl(this.canvas);
|
||||||
|
|||||||
Reference in New Issue
Block a user