瀏覽代碼

Light: Set receiveShadow to undefined.

Mr.doob 9 年之前
父節點
當前提交
d1bfad4b35
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/lights/Light.js

+ 2 - 0
src/lights/Light.js

@@ -11,6 +11,8 @@ THREE.Light = function ( color ) {
 
 	this.color = new THREE.Color( color );
 
+	this.receiveShadow = undefined;
+
 };
 
 THREE.Light.prototype = Object.create( THREE.Object3D.prototype );