src/views/screen/components/screen-map-three/experience/renderer.js
@@ -14,7 +14,7 @@ canvas: this.canvas, antialias: true, alpha: true, // logarithmicDepthBuffer: true logarithmicDepthBuffer: true }); // this.instance.toneMapping = THREE.CineonToneMapping; // this.instance.toneMappingExposure = 1.75; @@ -30,4 +30,8 @@ update() { this.instance.render(this.scene, this.camera.instance); } destroy() { this.instance.dispose(); this.instance.domElement.remove(); } }