@crystaldesign/real-time-viewer 24.11.0-beta.39 → 24.11.0-beta.40

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.
@@ -847,7 +847,7 @@ var lightning = function lightning(diva3durl, scene, cams, isMobile, sceneStore)
847
847
  ssao.radius = 1.25;
848
848
  ssao.epsilon = 0.002;
849
849
  ssao.totalStrength = 0.7;
850
- ssao.bilateralTolerance = 0;
850
+ ssao.bilateralTolerance = 0.1;
851
851
  ssao.base = 0;
852
852
  ssao.expensiveBlur = true;
853
853
  ssao.bilateralSamples = 32;
@@ -2841,13 +2841,14 @@ function shadow() {
2841
2841
  var _useUtilStoreContext = useUtilStoreContext(),
2842
2842
  degreesToRadians = _useUtilStoreContext.degreesToRadians;
2843
2843
  if (!hasRendered) {
2844
- var light = scene.getLightByName('dirb');
2845
- light = new DirectionalLight('dirl', new Vector3(-0.2, -1, -0.2), scene);
2844
+ var light = new DirectionalLight('dirl', new Vector3(-1, 0, 0), scene);
2846
2845
  var lightf = new DirectionalLight('dirf', new Vector3(0, -0.436, -0.9), scene);
2847
2846
  var lightr = new DirectionalLight('dirr', new Vector3(0, -1, 0.3), scene);
2848
2847
  var lightl = new DirectionalLight('dirb', new Vector3(0.2, -1, 0.2), scene);
2849
- lightf.intensity = 2.5;
2850
- light.intensity = 2;
2848
+ lightl.intensity = 1;
2849
+ lightf.intensity = 2.2;
2850
+ light.intensity = 1;
2851
+ lightr.intensity = 1;
2851
2852
  light.position = new Vector3(-2, 5, 0);
2852
2853
  lightf.position = new Vector3(2, 5, 0);
2853
2854
  lightr.position = new Vector3(0, 5, -2);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/shadow/index.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,MAAM,SAiC7B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/shadow/index.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,MAAM,SAkC7B"}