mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
6386ebe18e
commit
57fbebaea5
1 changed files with 2 additions and 3 deletions
|
|
@ -1428,8 +1428,8 @@ export class RoomEngine {
|
|||
}
|
||||
|
||||
private turnOnRoomLight() {
|
||||
this.roomLight.intensity = 150000;
|
||||
this.envMapIndoor.level = 0.5;
|
||||
this.roomLight.intensity = 100000;
|
||||
this.envMapIndoor.level = 0.6;
|
||||
}
|
||||
|
||||
private turnOffRoomLight() {
|
||||
|
|
@ -1741,7 +1741,6 @@ export class RoomObjectPreviewEngine {
|
|||
|
||||
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.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.attachControl(this.canvas);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue