@preference-sl/pref-viewer 2.8.1 → 2.9.0-beta.1
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/package.json +3 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preference-sl/pref-viewer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0-beta.1",
|
|
4
4
|
"description": "Web Component to preview GLTF models with Babylon.js",
|
|
5
5
|
"author": "Alex Moreno Palacio <amoreno@preference.es>",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"release": "standard-version --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\""
|
|
7
|
+
"release": "standard-version --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\"",
|
|
8
|
+
"release:beta": "standard-version --prerelease beta --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\""
|
|
8
9
|
},
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
package/src/index.js
CHANGED
|
@@ -182,7 +182,7 @@ class PrefViewer extends HTMLElement {
|
|
|
182
182
|
this.shadowGen = new ShadowGenerator(1024, this.dirLight);
|
|
183
183
|
this.shadowGen.useBlurExponentialShadowMap = true;
|
|
184
184
|
this.shadowGen.blurKernel = 16;
|
|
185
|
-
this.shadowGen.darkness = 0.
|
|
185
|
+
this.shadowGen.darkness = 0.5;
|
|
186
186
|
|
|
187
187
|
// 4) Camera‐attached headlight
|
|
188
188
|
this.cameraLight = new PointLight(
|