Selaa lähdekoodia

Set `.castShadow` to `false`

ycw 4 vuotta sitten
vanhempi
commit
3729e74a43
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/lights/HemisphereLight.js

+ 1 - 1
src/lights/HemisphereLight.js

@@ -8,7 +8,7 @@ function HemisphereLight( skyColor, groundColor, intensity ) {
 
 	this.type = 'HemisphereLight';
 
-	this.castShadow = undefined;
+	this.castShadow = false;
 
 	this.position.copy( Object3D.DefaultUp );
 	this.updateMatrix();