@preference-sl/pref-viewer 2.9.0-beta.4 → 2.9.0-beta.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@preference-sl/pref-viewer",
3
- "version": "2.9.0-beta.4",
3
+ "version": "2.9.0-beta.6",
4
4
  "description": "Web Component to preview GLTF models with Babylon.js",
5
5
  "author": "Alex Moreno Palacio <amoreno@preference.es>",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -167,7 +167,7 @@ class PrefViewer extends HTMLElement {
167
167
  new Vector3(0, 1, 0),
168
168
  this.scene
169
169
  );
170
- this.hemiLight.intensity = 0.4;
170
+ this.hemiLight.intensity = 0.6;
171
171
 
172
172
  // 2) Directional light from the front-right, angled slightly down
173
173
  this.dirLight = new DirectionalLight(
@@ -186,7 +186,7 @@ class PrefViewer extends HTMLElement {
186
186
 
187
187
  // 4) Camera‐attached headlight
188
188
  this.cameraLight = new PointLight(
189
- "cameraLight",
189
+ "pl",
190
190
  this.camera.position,
191
191
  this.scene
192
192
  );