|
@@ -4247,7 +4247,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
maxHemiLights: maxLightCount.hemi,
|
|
|
|
|
|
maxShadows: maxShadows,
|
|
|
- shadowMapEnabled: this.shadowMapEnabled && object.receiveShadow,
|
|
|
+ shadowMapEnabled: this.shadowMapEnabled && object.receiveShadow && maxShadows > 0,
|
|
|
shadowMapType: this.shadowMapType,
|
|
|
shadowMapDebug: this.shadowMapDebug,
|
|
|
shadowMapCascade: this.shadowMapCascade,
|