@forgeax/engine-import 0.1.20 → 0.1.21

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/dist/index.mjs CHANGED
@@ -1165,7 +1165,9 @@ function materialProduct(input) {
1165
1165
  return addRef(value, sourceField);
1166
1166
  };
1167
1167
  const textureFields = material.parameters === void 0 ? new Set(MATERIAL_TEXTURE_SLOTS) : new Set(
1168
- material.parameters.filter((parameter) => parameter.type === "texture").map((parameter) => parameter.name)
1168
+ material.parameters.filter(
1169
+ (parameter) => parameter.type === "texture" || parameter.type === "texture_cube"
1170
+ ).map((parameter) => parameter.name)
1169
1171
  );
1170
1172
  const parent = material.parent === void 0 ? void 0 : addRef(material.parent, { fieldName: "parent" });
1171
1173
  const values = {};