소스 검색

Fix Shadow going back to CubeMap.

Sebastien Vandenberghe 8 년 전
부모
커밋
9692af5598

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2646 - 2646
dist/preview release/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/babylon.js


+ 4 - 2
dist/preview release/babylon.max.js

@@ -44333,8 +44333,10 @@ var BABYLON;
             this._disposeRTTandPostProcesses();
             // Reinitializes.
             this._initializeGenerator(this.blurBoxOffset);
-            // Reaffect the blur to ensure a correct fallback if necessary.
-            this.useBlurExponentialShadowMap = this.useBlurExponentialShadowMap;
+            // Reaffect the blur ESM to ensure a correct fallback if necessary.
+            if (this.useBlurExponentialShadowMap) {
+                this.useBlurExponentialShadowMap = true;
+            }
             // Reaffect the filter.
             this._applyFilterValues();
             // Reaffect Render List.

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2646 - 2646
dist/preview release/babylon.module.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/babylon.worker.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4760 - 4760
dist/preview release/customConfigurations/minimalViewer/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4760 - 4760
dist/preview release/customConfigurations/minimalViewer/babylon.module.d.ts


+ 4 - 2
src/Lights/Shadows/babylon.shadowGenerator.ts

@@ -351,8 +351,10 @@
             this._disposeRTTandPostProcesses();
             // Reinitializes.
             this._initializeGenerator(this.blurBoxOffset);
-            // Reaffect the blur to ensure a correct fallback if necessary.
-            this.useBlurExponentialShadowMap = this.useBlurExponentialShadowMap;
+            // Reaffect the blur ESM to ensure a correct fallback if necessary.
+            if (this.useBlurExponentialShadowMap) {
+                this.useBlurExponentialShadowMap = true;
+            }
             // Reaffect the filter.
             this._applyFilterValues();
             // Reaffect Render List.