|
@@ -278,10 +278,6 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- // We must call _renderer.resetGLState() at the end of each iteration of
|
|
|
- // the light loop in order to force material updates for each light.
|
|
|
- _renderer.resetGLState();
|
|
|
-
|
|
|
}
|
|
|
|
|
|
// Restore GL state.
|
|
@@ -297,8 +293,6 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- _renderer.resetGLState();
|
|
|
-
|
|
|
scope.needsUpdate = false;
|
|
|
|
|
|
};
|