Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shapediver/viewer.rendering-engine.light-engine

Package Overview
Dependencies
Maintainers
5
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.rendering-engine.light-engine - npm Package Compare versions

Comparing version 1.6.6 to 1.6.7

7

dist/implementation/LightEngine.js

@@ -148,4 +148,7 @@ "use strict";

const lightScene = new LightScene_1.LightScene({ id: lightSceneId, name: properties.name });
if (properties.standard === true)
lightScene.addLight(new DirectionalLight_1.DirectionalLight({ color: '#ffffff', intensity: 1, direction: gl_matrix_1.vec3.fromValues(.5774, -.5774, .5774), castShadow: true, name: 'directional0' }));
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' }));
}
this._lightScenes[lightSceneId] = lightScene;

@@ -152,0 +155,0 @@ this._lightScene = lightScene;

{
"name": "@shapediver/viewer.rendering-engine.light-engine",
"version": "1.6.6",
"version": "1.6.7",
"description": "",

@@ -40,9 +40,9 @@ "keywords": [],

"@shapediver/viewer.settings": "*",
"@shapediver/viewer.shared.node-tree": "^1.6.6",
"@shapediver/viewer.shared.services": "^1.6.6",
"@shapediver/viewer.shared.types": "^1.6.6",
"@shapediver/viewer.shared.node-tree": "^1.6.7",
"@shapediver/viewer.shared.services": "^1.6.7",
"@shapediver/viewer.shared.types": "^1.6.7",
"gl-matrix": "3.3.0",
"tsyringe": "^4.5.0"
},
"gitHead": "c609455a59e94ede70b624764205ac14ae95004d"
"gitHead": "c3e17bdce9688d96ef169b3fd8d15e222571acc8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc