mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 05:04:08 +02:00
Update engine.ts
This commit is contained in:
@@ -348,7 +348,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||||||
this.shadowGeneratorForSunLight.getShadowMap().refreshRate = 60;
|
this.shadowGeneratorForSunLight.getShadowMap().refreshRate = 60;
|
||||||
|
|
||||||
this.lightContainer = new BABYLON.ClusteredLightContainer('clustered', [], this.scene);
|
this.lightContainer = new BABYLON.ClusteredLightContainer('clustered', [], this.scene);
|
||||||
this.lightContainer.maxRange = cm(1000);
|
this.lightContainer.maxRange = options.graphicsQuality === 'high' ? cm(1000) : options.graphicsQuality === 'medium' ? cm(100) : cm(50);
|
||||||
this.lightContainer.verticalTiles = 32;
|
this.lightContainer.verticalTiles = 32;
|
||||||
this.lightContainer.horizontalTiles = 32;
|
this.lightContainer.horizontalTiles = 32;
|
||||||
this.lightContainer.depthSlices = 32;
|
this.lightContainer.depthSlices = 32;
|
||||||
|
|||||||
Reference in New Issue
Block a user