2
0
Эх сурвалжийг харах

Light: Set receiveShadow to undefined.

Mr.doob 9 жил өмнө
parent
commit
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 );