Преглед на файлове

Set `.castShadow` to `false`

ycw преди 5 години
родител
ревизия
3729e74a43
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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();