@archvisioninc/canvas 2.7.5 → 2.7.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.
@@ -501,7 +501,7 @@ export const materialData = material => {
501
501
  asDataUrl: true
502
502
  })
503
503
  },
504
- bumpIntensity: material.bumpTexture?.level || 0.5,
504
+ bumpIntensity: material.bumpTexture?.level ?? 1,
505
505
  bumpTexture: {
506
506
  name: material.bumpTexture?.name,
507
507
  url: getTextureUrl({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archvisioninc/canvas",
3
- "version": "2.7.5",
3
+ "version": "2.7.6",
4
4
  "private": false,
5
5
  "main": "dist/Canvas.js",
6
6
  "module": "dist/Canvas.js",
@@ -555,7 +555,7 @@ export const materialData = material => {
555
555
  name: material.emissiveTexture?.name,
556
556
  url: getTextureUrl({ texture: material.emissiveTexture, asDataUrl: true }),
557
557
  },
558
- bumpIntensity: material.bumpTexture?.level || 0.5,
558
+ bumpIntensity: material.bumpTexture?.level ?? 1,
559
559
  bumpTexture: {
560
560
  name: material.bumpTexture?.name,
561
561
  url: getTextureUrl({ texture: material.bumpTexture, asDataUrl: true }),