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

Update previewEngine.ts

This commit is contained in:
syuilo
2026-05-09 14:41:39 +09:00
parent 79ad7e274c
commit fb77eb4349

View File

@@ -97,11 +97,12 @@ export class RoomObjectPreviewEngine {
this.pipeline = new BABYLON.DefaultRenderingPipeline('default', true, this.scene); this.pipeline = new BABYLON.DefaultRenderingPipeline('default', true, this.scene);
this.pipeline.samples = 4; this.pipeline.samples = 4;
this.pipeline.bloomEnabled = true; // 重い
this.pipeline.bloomThreshold = 0.95; //this.pipeline.bloomEnabled = true;
this.pipeline.bloomWeight = 0.1; //this.pipeline.bloomThreshold = 0.95;
this.pipeline.bloomKernel = 256; //this.pipeline.bloomWeight = 0.1;
this.pipeline.bloomScale = 2; //this.pipeline.bloomKernel = 256;
//this.pipeline.bloomScale = 2;
this.pipeline.sharpenEnabled = true; this.pipeline.sharpenEnabled = true;
this.pipeline.sharpen.edgeAmount = 0.5; this.pipeline.sharpen.edgeAmount = 0.5;