@galacean/effects-plugin-model 2.1.0-alpha.5 → 2.1.0-alpha.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.
package/dist/loader.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player model plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 飂兮
6
- * Version: v2.1.0-alpha.5
6
+ * Version: v2.1.0-alpha.6
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
@@ -756,8 +756,8 @@ var PShadowType;
756
756
  PShadowType[PShadowType["variance"] = 2] = "variance";
757
757
  PShadowType[PShadowType["expVariance"] = 3] = "expVariance";
758
758
  })(PShadowType || (PShadowType = {}));
759
- var PBRShaderGUID = "pbr00000000000000000000000000000";
760
- var UnlitShaderGUID = "unlit000000000000000000000000000";
759
+ var PBRShaderGUID = spec.BuiltinObjectGUID.PBRShader;
760
+ var UnlitShaderGUID = spec.BuiltinObjectGUID.UnlitShader;
761
761
  /**
762
762
  * 插件变换类
763
763
  */ var PTransform = /*#__PURE__*/ function() {
@@ -4404,7 +4404,7 @@ var CameraGestureHandlerImp = /*#__PURE__*/ function() {
4404
4404
 
4405
4405
  registerPlugin("tree", ModelTreePlugin, VFXItem, true);
4406
4406
  registerPlugin("model", ModelPlugin, VFXItem);
4407
- var version = "2.1.0-alpha.5";
4407
+ var version = "2.1.0-alpha.6";
4408
4408
  logger.info("Plugin model version: " + version + ".");
4409
4409
  if (version !== EFFECTS.version) {
4410
4410
  console.error("注意:请统一 Model 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Model plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");
@@ -12916,7 +12916,7 @@ function getDefaultUnlitMaterialData() {
12916
12916
  },
12917
12917
  "macros": [],
12918
12918
  "shader": {
12919
- "id": "unlit000000000000000000000000000"
12919
+ "id": spec.BuiltinObjectGUID.UnlitShader
12920
12920
  },
12921
12921
  "ints": {},
12922
12922
  "floats": {