|
@@ -22,6 +22,8 @@ THREE.ShadowMesh = function ( mesh ) {
|
|
|
this.parentMeshMatrix = mesh.matrixWorld;
|
|
|
|
|
|
this.frustumCulled = false;
|
|
|
+
|
|
|
+ this.matrixAutoUpdate = false;
|
|
|
|
|
|
};
|
|
|
|
|
@@ -61,10 +63,8 @@ THREE.ShadowMesh.prototype.update = function () {
|
|
|
sme[ 7 ] = - lightPosition4D.w * plane.normal.y;
|
|
|
sme[ 11 ] = - lightPosition4D.w * plane.normal.z;
|
|
|
sme[ 15 ] = dot - lightPosition4D.w * -plane.constant;
|
|
|
-
|
|
|
- this.matrix.multiplyMatrices( shadowMatrix, this.parentMeshMatrix );
|
|
|
|
|
|
- this.matrixAutoUpdate = false;
|
|
|
+ this.matrix.multiplyMatrices( shadowMatrix, this.parentMeshMatrix );
|
|
|
|
|
|
};
|
|
|
|