mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
setRenderingAutoClearDepthStencil
This commit is contained in:
parent
6275196101
commit
da8a7abcde
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue