Sfoglia il codice sorgente

configure environment map

Raanan Weber 7 anni fa
parent
commit
0c2097973a

+ 7 - 7
Viewer/src/configuration/types/extended.ts

@@ -256,7 +256,8 @@ export let extendedConfiguration: ViewerConfiguration = {
             r: 0.8823529411764706,
             g: 0.8823529411764706,
             b: 0.8823529411764706
-        }
+        },
+        assetsRootURL: 'https://viewer.babylonjs.com/assets/environment/'
     },
     loaderPlugins: {
         extendedMaterial: true,
@@ -301,13 +302,12 @@ export let extendedConfiguration: ViewerConfiguration = {
         castShadow: true,
         receiveShadows: true
     },
+    environmentMap: {
+        texture: "EnvMap_3.0-256.env",
+        rotationY: 3,
+        tintLevel: 0.4
+    },
     lab: {
-        assetsRootURL: 'https://viewer.babylonjs.com/assets/environment/',
-        environmentMap: {
-            texture: "EnvMap_2.0-256.env",
-            rotationY: 3,
-            tintLevel: 0.4
-        },
         defaultRenderingPipelines: {
             bloomEnabled: true,
             bloomThreshold: 1.0,

File diff suppressed because it is too large
+ 35 - 25
Viewer/src/managers/sceneManager.ts