瀏覽代碼

Improved 360 viewer workload

David Catuhe 7 年之前
父節點
當前提交
dd9f2661b1

+ 4 - 7
Tools/Gulp/config.json

@@ -121,19 +121,16 @@
             "imageProcessing"            
         ],
         "minimal": [
-            "freeCamera",
-            "hemisphericLight"
-        ],
-        "minimalWithBuilder": [
             "meshBuilder",
             "freeCamera",
             "hemisphericLight"
         ],
         "360Viewer": [
-            "freeCamera",
-            "hemisphericLight",
+            "arcRotateCamera",
             "meshBuilder",
-            "picking"
+            "picking",
+            "backgroundMaterial",
+            "videoDome"
         ]      
     },
     "workloads": {

文件差異過大導致無法顯示
+ 12850 - 12848
dist/preview release/babylon.d.ts


文件差異過大導致無法顯示
+ 25 - 61
dist/preview release/babylon.js


文件差異過大導致無法顯示
+ 3133 - 57557
dist/preview release/babylon.max.js


文件差異過大導致無法顯示
+ 3133 - 57557
dist/preview release/babylon.no-module.max.js


文件差異過大導致無法顯示
+ 25 - 61
dist/preview release/babylon.worker.js


文件差異過大導致無法顯示
+ 3135 - 57559
dist/preview release/es6.js


+ 3 - 1
src/Materials/Background/babylon.backgroundMaterial.ts

@@ -1076,7 +1076,9 @@
                 MaterialHelper.BindFogParameters(scene, mesh, this._activeEffect);
 
                 // image processing
-                this._imageProcessingConfiguration.bind(this._activeEffect);
+                if (this._imageProcessingConfiguration) {
+                    this._imageProcessingConfiguration.bind(this._activeEffect);
+                }
             }
 
             this._uniformBuffer.update();