Strange behaviour of shadowing in ThreeJS
问题 so I have a threeJS scene, and I have some spheres (multimaterial) added. I have also a directional light added : this.light = new THREE.DirectionalLight( 0xFFFFFF, 1 ); this.light.position.set( 2, 10, 2 ); this.light.castShadow = true; this.light.shadowMapSoft = true; this.light.shadowCameraVisible = true; this.light.shadowCameraNear = 1; this.light.shadowCameraFar = 10; this.light.shadowBias = 0.0009; this.light.shadowDarkness = 0.3; this.light.shadowMapWidth = 1024; this.light