浏览代码

[unity] Added changelog entry for previous commit (Fixed `Shadow alpha cutoff` shader parameters ignoring SlotColor.alpha). See #1350.

Harald Csaszar 6 年之前
父节点
当前提交
95f08cd634
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CHANGELOG.md

+ 1 - 0
CHANGELOG.md

@@ -36,6 +36,7 @@
 
 * **Breaking changes**
   * **Removed PoseSkeleton() and PoseWithAnimation()** extension methods to prevent issues where animations are not mixed out. Problem was that these methods did not set AnimationState, leaving incorrect state at e.g. attachments enabled at slots when starting subsequent animations. As a replacement you can use `AnimationState.ClearTrack(0);` followed by `var entry = AnimationState.SetAnimation(0, animation, loop); entry.TrackTime = time` to achieve similar behaviour.
+  * **The `Shadow alpha cutoff` shader parameter is now respecting slot-color alpha** values at all Spine shaders. A fragment's texture color alpha is multiplied with slot-color alpha before the result is tested against the `Shadow alpha cutoff` threshold.
 
 * **Additions**
   * **Spine Preferences stored in Assets/Editor/SpineSettings.asset** Now Spine uses the new `SettingsProvider` API, storing settings in a SpineSettings.asset file which can be shared with team members. Your old preferences are automatically migrated to the new system.