瀏覽代碼

Set `.castShadow` to `false`

ycw 4 年之前
父節點
當前提交
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();