x3d-image 2.2.0 → 2.2.2

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 +2 -2
  2. package/src/image.js +1 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-image",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Render image files from X3D",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "colors": "^1.4.0",
55
55
  "electron": "^37.2.0",
56
- "x_ite": "^11.6.2",
56
+ "x_ite": "^11.6.4",
57
57
  "yargs": "^18.0.0"
58
58
  },
59
59
  "devDependencies": {
package/src/image.js CHANGED
@@ -358,15 +358,7 @@ async function addEnvironmentLight (browser, scene, name)
358
358
 
359
359
  environmentLight = scene .createNode ("EnvironmentLight");
360
360
 
361
- const
362
- specularTexture = scene .createNode ("ImageCubeMapTexture"),
363
- textureProperties = scene .createNode ("TextureProperties");
364
-
365
- textureProperties .generateMipMaps = true;
366
- textureProperties .minificationFilter = "NICEST";
367
- textureProperties .magnificationFilter = "NICEST";
368
-
369
- specularTexture .textureProperties = textureProperties;
361
+ const specularTexture = scene .createNode ("ImageCubeMapTexture")
370
362
 
371
363
  environmentLight .intensity = 1;
372
364
  environmentLight .color = new X3D .SFColor (1, 1, 1);