Creé el contorno de la caja con LineBasicMaterial.
new LineBasicMaterial({ color: '#ff1b00', linewidth: 1 }
Pero en la escena, el color tiene un tono diferente, cuando uso el selector de color, el color es #db5100. ¿Por qué? ¿Y como arreglarlo?
Configurar webGlRender:
this.renderer = new WebGLRenderer({ antialias: true, alpha: true, preserveDrawingBuffer: true, powerPreference: 'high-performance', precision: 'highp' }) this.renderer.setPixelRatio(window.devicePixelRatio); this.renderer.gammaOutput = true; this.renderer.toneMapping = THREE.ACESFilmicToneMapping this.renderer.toneMappingExposure = 0.7; this.renderer.gammaFactor = 2.2 this.renderer.gammaOutput = true; this.renderer.powerPreference = 'high-performance' this.renderer.shadowMap.enabled = false; this.renderer.shadowMap.type = THREE.PCFSoftShadowMap; // default THREE.PCFShadowMap this.dom.appendChild(this.renderer.domElement)