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
35f6cac9f6
commit
df5d5d23cc
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||
this.shadowGeneratorForSunLight.getShadowMap().refreshRate = 60;
|
||||
|
||||
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.horizontalTiles = 32;
|
||||
this.lightContainer.depthSlices = 32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue