Skip to content

Commit ba13c98

Browse files
committed
AmbientLight/HemisphereLight: Set castShadow to undefined.
1 parent 4e9abd1 commit ba13c98

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/lights/AmbientLight.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ THREE.AmbientLight = function ( color ) {
88

99
this.type = 'AmbientLight';
1010

11+
this.castShadow = undefined;
12+
1113
};
1214

1315
THREE.AmbientLight.prototype = Object.create( THREE.Light.prototype );

src/lights/HemisphereLight.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ THREE.HemisphereLight = function ( skyColor, groundColor, intensity ) {
88

99
this.type = 'HemisphereLight';
1010

11+
this.castShadow = undefined;
12+
1113
this.position.set( 0, 1, 0 );
1214
this.updateMatrix();
1315

0 commit comments

Comments
 (0)