|
@@ -58,7 +58,9 @@ PointLightShadow.prototype = Object.assign( Object.create( LightShadow.prototype
|
|
|
|
|
|
isPointLightShadow: true,
|
|
|
|
|
|
- updateMatrices: function ( light, viewportIndex = 0 ) {
|
|
|
+ updateMatrices: function ( light, viewportIndex ) {
|
|
|
+
|
|
|
+ if ( viewportIndex === undefined ) viewportIndex = 0;
|
|
|
|
|
|
var camera = this.camera,
|
|
|
shadowMatrix = this.matrix,
|