mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 01:45:36 +02:00
setRenderingAutoClearDepthStencil
This commit is contained in:
@@ -619,6 +619,9 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
||||
});
|
||||
gl.intensity = 0.5;
|
||||
|
||||
// for improving performance
|
||||
this.scene.setRenderingAutoClearDepthStencil(gl.renderingGroupId, false);
|
||||
|
||||
if (SNAPSHOT_RENDERING) {
|
||||
this.sr.updateMeshesForEffectLayer(gl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user