1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 18:05:43 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-27 15:22:50 +09:00
parent 036b8ea320
commit 24caff71e1

View File

@@ -435,6 +435,16 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
}
}
if (options.graphicsQuality >= GRAPHICS_QUALITY_HIGH) {
const pipeline = new BABYLON.DefaultRenderingPipeline('default', true, this.scene);
pipeline.bloomEnabled = true;
pipeline.bloomThreshold = 0.95;
pipeline.bloomWeight = 0.3;
pipeline.bloomKernel = 256;
pipeline.bloomScale = 2;
}
if (_DEV_) {
// snapshot renderingかつglow layerが有効だとなんかクラッシュする
if (!(SNAPSHOT_RENDERING && this.useGlow)) {