|
@@ -96,10 +96,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
|
|
|
|
|
|
|
|
if ( lights.length === 0 ) return;
|
|
if ( lights.length === 0 ) return;
|
|
|
|
|
|
|
|
- if ( lights.type === PCFSoftShadowMap ) {
|
|
|
|
|
|
|
+ if ( this.type === PCFSoftShadowMap ) {
|
|
|
|
|
|
|
|
warn( 'WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.' );
|
|
warn( 'WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.' );
|
|
|
- lights.type = PCFShadowMap;
|
|
|
|
|
|
|
+ this.type = PCFShadowMap;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|