diff --git a/packages/frontend/src/world/room/engine.ts b/packages/frontend/src/world/room/engine.ts index f1694be47d..638a40c25c 100644 --- a/packages/frontend/src/world/room/engine.ts +++ b/packages/frontend/src/world/room/engine.ts @@ -324,7 +324,7 @@ export class RoomEngine extends EventEmitter { this.roomLight.shadowMaxZ = cm(300); this.roomLight.radius = cm(30); - this.shadowGeneratorForRoomLight = new BABYLON.ShadowGenerator(2048, this.roomLight); + this.shadowGeneratorForRoomLight = new BABYLON.ShadowGenerator(options.graphicsQuality <= GRAPHICS_QUALITY_LOW ? 1024 : 2048, this.roomLight); this.shadowGeneratorForRoomLight.forceBackFacesOnly = true; this.shadowGeneratorForRoomLight.bias = 0.00001; this.shadowGeneratorForRoomLight.normalBias = 0.005;