@needle-tools/materialx 1.0.2-next.c468cd8 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/materialx",
3
- "version": "1.0.2-next.c468cd8",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "exports": {
@@ -39,4 +39,4 @@
39
39
  "mtlx",
40
40
  "rendering"
41
41
  ]
42
- }
42
+ }
@@ -193,7 +193,6 @@ function toThreeUniform(uniforms: any, type: string, value: any, name: string, l
193
193
  // Save the loading promise in the cache
194
194
  const promise = loaders.getTexture(texturePath).then(res => {
195
195
  if (res) {
196
- res = res.clone(); // we need to clone the texture once to avoid colorSpace issues with other materials
197
196
  res.colorSpace = THREE.LinearSRGBColorSpace;
198
197
  setTextureParameters(res, name, uniforms);
199
198
  }