@galacean/effects-plugin-spine 2.4.2 → 2.4.4

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
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player spine plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 十弦
6
- * Version: v2.4.2
6
+ * Version: v2.4.4
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
@@ -10499,16 +10499,16 @@ function setBlending(material, mode) {
10499
10499
  material.blendFunction = [
10500
10500
  glContext.DST_COLOR,
10501
10501
  glContext.ONE_MINUS_SRC_ALPHA,
10502
- glContext.DST_COLOR,
10502
+ glContext.ONE,
10503
10503
  glContext.ONE_MINUS_SRC_ALPHA
10504
10504
  ];
10505
10505
  break;
10506
10506
  case BlendMode.Screen:
10507
10507
  material.blendFunction = [
10508
10508
  glContext.ONE,
10509
- glContext.ONE_MINUS_SRC_ALPHA,
10510
10509
  glContext.ONE_MINUS_SRC_COLOR,
10511
- glContext.ONE_MINUS_SRC_ALPHA
10510
+ glContext.ONE,
10511
+ glContext.ONE_MINUS_SRC_COLOR
10512
10512
  ];
10513
10513
  break;
10514
10514
  case BlendMode.Additive:
@@ -11505,7 +11505,7 @@ registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
11505
11505
  }(AbstractPlugin), VFXItem);
11506
11506
  /**
11507
11507
  * 插件版本号
11508
- */ var version = "2.4.2";
11508
+ */ var version = "2.4.4";
11509
11509
  logger.info("Plugin spine version: " + version + ".");
11510
11510
  if (version !== EFFECTS.version) {
11511
11511
  console.error("注意:请统一 Spine 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Spine plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");