@perceptimagery/dita-configurator-staging 0.1.7000 → 0.1.7100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
111
111
|
host: "https://api.sprie.io"
|
|
112
112
|
};
|
|
113
113
|
const config = Object.freeze(Config$1);
|
|
114
|
-
const version$1 = "0.1.
|
|
114
|
+
const version$1 = "0.1.7100";
|
|
115
115
|
function modifyLensArr(arr, element) {
|
|
116
116
|
const index = arr.findIndex((e) => e["sku"] === element["sku"]);
|
|
117
117
|
if (index !== -1) {
|
|
@@ -41481,17 +41481,20 @@ bool bvhIntersectFirstHit(
|
|
|
41481
41481
|
this.renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
|
|
41482
41482
|
const rgbeLoader = new RGBELoader();
|
|
41483
41483
|
rgbeLoader.load(
|
|
41484
|
-
"https://sprie-jarvis-public.s3.eu-west-2.amazonaws.com/
|
|
41484
|
+
"https://sprie-jarvis-public.s3.eu-west-2.amazonaws.com/environment_desaturated.hdr",
|
|
41485
41485
|
(environmentMap) => {
|
|
41486
41486
|
environmentMap.mapping = EquirectangularReflectionMapping;
|
|
41487
41487
|
this.scene.environment = environmentMap;
|
|
41488
41488
|
}
|
|
41489
41489
|
);
|
|
41490
|
-
rgbeLoader.
|
|
41491
|
-
|
|
41492
|
-
|
|
41493
|
-
|
|
41494
|
-
|
|
41490
|
+
rgbeLoader.load(
|
|
41491
|
+
"https://sprie-jarvis-public.s3.eu-west-2.amazonaws.com/environment_gemstones.hdr",
|
|
41492
|
+
(reflectionMap) => {
|
|
41493
|
+
reflectionMap.mapping = EquirectangularReflectionMapping;
|
|
41494
|
+
diamondMaterial.uniforms.envMap.value = reflectionMap;
|
|
41495
|
+
envMap = reflectionMap;
|
|
41496
|
+
}
|
|
41497
|
+
);
|
|
41495
41498
|
const aberrationStrength = 0.01;
|
|
41496
41499
|
const isCubeTexture = (def) => def && def.isCubeTexture;
|
|
41497
41500
|
diamondMaterial.uniforms.aberrationStrength.value = aberrationStrength;
|