1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-30 23:53:57 +02:00
This commit is contained in:
syuilo
2026-04-29 15:23:00 +09:00
parent fc97ba41af
commit 27578f2688
7 changed files with 23 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ export type RoomControllerOptions = {
graphicsQuality: number;
fps: number | null;
resolution: number;
antialias: boolean;
useVirtualJoystick?: boolean;
};
@@ -84,7 +85,7 @@ export class RoomController {
}
};
} else {
const babylonEngine = new BABYLON.WebGPUEngine(canvas, { doNotHandleContextLost: true, powerPreference: 'high-performance', antialias: this.options.graphicsQuality >= GRAPHICS_QUALITY_MEDIUM });
const babylonEngine = new BABYLON.WebGPUEngine(canvas, { doNotHandleContextLost: true, powerPreference: 'high-performance', antialias: this.options.antialias });
babylonEngine.compatibilityMode = false;
babylonEngine.enableOfflineSupport = false;
babylonEngine.onContextLostObservable.add(() => {