@shapediver/viewer.rendering-engine.light-engine
Advanced tools
Comparing version 1.11.12 to 1.12.0
@@ -132,5 +132,4 @@ "use strict"; | ||
if (properties.standard === true) { | ||
lightScene.addLight(new AmbientLight_1.AmbientLight({ color: '#ffffff', intensity: 0.5, name: 'ambient0' })); | ||
lightScene.addLight(new DirectionalLight_1.DirectionalLight({ color: '#ffffff', intensity: 0.75, direction: gl_matrix_1.vec3.fromValues(.5774, -.5774, .5774), castShadow: true, name: 'directional0' })); | ||
lightScene.addLight(new DirectionalLight_1.DirectionalLight({ color: '#ffffff', intensity: 0.35, direction: gl_matrix_1.vec3.fromValues(.25, -1, 1), castShadow: false, name: 'directional1' })); | ||
lightScene.addLight(new DirectionalLight_1.DirectionalLight({ color: '#ffffff', intensity: 2.5, direction: gl_matrix_1.vec3.fromValues(.5774, -.5774, .5774), castShadow: true, name: 'directional0' })); | ||
lightScene.addLight(new DirectionalLight_1.DirectionalLight({ color: '#ffffff', intensity: 1, direction: gl_matrix_1.vec3.fromValues(-.5774, -.5774, .5774), castShadow: false, name: 'directional1' })); | ||
} | ||
@@ -137,0 +136,0 @@ this._lightScenes[lightSceneId] = lightScene; |
{ | ||
"name": "@shapediver/viewer.rendering-engine.light-engine", | ||
"version": "1.11.12", | ||
"version": "1.12.0", | ||
"description": "", | ||
@@ -40,9 +40,9 @@ "keywords": [], | ||
"@shapediver/viewer.settings": "*", | ||
"@shapediver/viewer.shared.node-tree": "1.11.12", | ||
"@shapediver/viewer.shared.services": "1.11.12", | ||
"@shapediver/viewer.shared.types": "1.11.12", | ||
"@shapediver/viewer.shared.node-tree": "1.12.0", | ||
"@shapediver/viewer.shared.services": "1.12.0", | ||
"@shapediver/viewer.shared.types": "1.12.0", | ||
"gl-matrix": "3.3.0", | ||
"tsyringe": "^4.5.0" | ||
}, | ||
"gitHead": "eb9c5233f70879f46fcaa386d01269fd5a2bab5f" | ||
"gitHead": "5a8184e94f1d8664d8c4d1d713fefb65496b9ba0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78561
1013
+ Added@shapediver/viewer.shared.build-data@1.12.0(transitive)
+ Added@shapediver/viewer.shared.math@1.12.0(transitive)
+ Added@shapediver/viewer.shared.node-tree@1.12.0(transitive)
+ Added@shapediver/viewer.shared.services@1.12.0(transitive)
+ Added@shapediver/viewer.shared.types@1.12.0(transitive)
- Removed@shapediver/viewer.shared.build-data@1.11.12(transitive)
- Removed@shapediver/viewer.shared.math@1.11.12(transitive)
- Removed@shapediver/viewer.shared.node-tree@1.11.12(transitive)
- Removed@shapediver/viewer.shared.services@1.11.12(transitive)
- Removed@shapediver/viewer.shared.types@1.11.12(transitive)