|
@@ -525,6 +525,7 @@
|
|
|
serializationObject.useBlurExponentialShadowMap = this.useBlurExponentialShadowMap;
|
|
|
serializationObject.usePoissonSampling = this.usePoissonSampling;
|
|
|
serializationObject.forceBackFacesOnly = this.forceBackFacesOnly;
|
|
|
+ serializationObject.depthScale = this.depthScale;
|
|
|
serializationObject.darkness = this.getDarkness();
|
|
|
|
|
|
serializationObject.renderList = [];
|
|
@@ -568,6 +569,10 @@
|
|
|
shadowGenerator.useBlurExponentialShadowMap = true;
|
|
|
}
|
|
|
|
|
|
+ if (parsedShadowGenerator.depthScale) {
|
|
|
+ shadowGenerator.depthScale = parsedShadowGenerator.depthScale;
|
|
|
+ }
|
|
|
+
|
|
|
if (parsedShadowGenerator.blurScale) {
|
|
|
shadowGenerator.blurScale = parsedShadowGenerator.blurScale;
|
|
|
}
|