setRenderingAutoClearDepthStencil

This commit is contained in:
syuilo 2026-04-15 18:24:15 +09:00
commit da8a7abcde

View file

@ -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);
}