      const renderTargetsHorizontal = this.renderTargetsHorizontal;
                const renderTargetsVertical = this.renderTargetsVertical;

                // Renderer state
                const currentOverrideMaterial = scene.overrideMaterial;
                const currentBackground = scene.background;
                renderer.getClearColor(this.currentClearColor);
                const currentClearAlpha = renderer.getClearAlpha();

                // Scene layer
                camera.layers.set(layer