302 Commits

Author SHA1 Message Date
Harald Csaszar
40836e1917 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:06:14 +02:00
Harald Csaszar
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +02:00
Harald Csaszar
d146a81d21 [unity] SkeletonRagdoll components now support bone scale at any bone in the skeleton hierarchy, including negative scale and root bone scale. Closes #1879. 2021-04-20 18:18:20 +02:00
Harald Csaszar
692eed3a75 [unity] Root motion delta compensation now allows to add translation root motion to e.g. adjust a horizontal jump upwards or downwards. Fixed delta compensation to also respect any Skeleton-, Transform- or parent Bone scale. See #1876. 2021-04-14 17:56:59 +02:00
Harald Csaszar
dd7c3b1bcc [unity] Root motion delta compensation now allows to only adjust X or Y components instead of both. See #1876. 2021-04-12 17:31:00 +02:00
Harald Csaszar
c165cd622a [unity] Added 3.8 changelog entry to 4.0 section as well. (related to previous commit improving root motion support). 2021-04-09 17:21:40 +02:00
Harald Csaszar
30d1e856a9 Merge branch '3.8' into 4.0-beta 2021-04-09 17:19:47 +02:00
Harald Csaszar
758a83ac96 [unity] SkeletonRootMotion components now support arbitrary bones in the hierarchy as Root Motion Bone. Now supporting arbitrary Skeleton.ScaleX/Y and parent bone scale. Closes #1876. 2021-04-09 17:15:45 +02:00
Harald Csaszar
02f87a0f9f [unity] All lit shaders now provide an additional parameter Light Affects Additive which defaults to false. This re-introduces flexibility taken away in commit aa46f411. See #1301. 2021-04-07 19:54:08 +02:00
badlogic
01902e2393 Merge branch '3.8' into 4.0-beta 2021-04-06 19:05:52 +02:00
Harald Csaszar
97b3f3058b [unity] Added RootMotionDeltaCompensation example component demonstrating simple root motion delta compensation. See #1873. 2021-04-06 17:44:50 +02:00
Harald Csaszar
aa46f411ab [unity] Made all shaders (including URP and LWRP shaders) compatible with Linear Color Space. Closes #1301. 2021-03-31 20:44:45 +02:00
Harald Csaszar
20e6eedc16 [unity] Fixed Outline shaders 4 and 8 neighbourhood outline thickness consistency. There was an obvious bug in the shader, dividing through the wrong number of samples. Closes #1864. 2021-03-23 16:24:53 +01:00
Harald Csaszar
b6793b9a9d [unity] Fixed Sprite shaders incorrectly applying PMA vertex colors again in Premultiply Alpha blend mode. Closes #1854. 2021-03-04 18:55:57 +01:00
Harald Csaszar
dc6a0233f3 [unity] minor 4.0 changelog update, added line regarding BoneFollower and BoneFollowerGraphic improvements from 3.8 to 4.0 section as well. 2021-03-02 13:52:26 +01:00
Harald Csaszar
93fe75d4b0 [ue4] 4.0 changelog update: added ue4 line to 4.0 section as well. 2021-02-25 12:05:24 +01:00
Harald Csaszar
ac23599638 Merge branch '3.8' into 4.0-beta 2021-02-25 12:00:57 +01:00
Harald Csaszar
0e5d7adf1c [ue4] Added preview skin / initial skin functionality for USpineWidget. Closes #1845. 2021-02-25 11:58:40 +01:00
Harald Csaszar
f85907965c Merge branch '3.8' into 4.0-beta 2021-02-22 20:47:32 +01:00
Harald Csaszar
4a0b30dd2f [unity] Fixed URP and LWRP shaders Sprite and SkeletonLit not handling shadows correctly after 180 degree rotation (normal needs to be flipped for bias direction). Now URP shaders no longer require Advanced - Add Normals enabled to receive shadows. Closes #1842. 2021-02-17 20:16:56 +01:00
Harald Csaszar
30906eabdc [unity] BoneFollower property pair followScale and followScaleMode are reverted back to followLocalScale. Automatically updates serialized values. Reverts changes by commit cdcdb64 which no longer provide any benefits. 2021-02-12 19:57:01 +01:00
Harald Csaszar
f9c81e9040 Merge branch '3.8' into 4.0-beta 2021-02-11 19:38:49 +01:00
Harald Csaszar
3bf9c3508f [unity] Fixed BoneFollower and BoneFollowerGraphic not reacting correctly to parent Transform rotation, as well as to negative Transform scale of a non-parent skeleton Transform. Closes #1837. 2021-02-11 17:48:53 +01:00
Harald Csaszar
66cde486e2 Minor: Updated changelog.md heading name from 3.9 to 4.0. 2021-02-01 18:43:06 +01:00
Harald Csaszar
df9776addf Merge branch '3.8' into 4.0-beta 2021-01-29 13:10:53 +01:00
Harald Csaszar
48470a4b16 [unity] Fixed two minor reported issues (could not be reproduced by user). Now officially supporting Unity versions 2020.1 and 2020.2 with this commit. Closes #1835. 2021-01-29 13:07:22 +01:00
Harald Csaszar
6d6de76cda [unity] Upgrade of BlendModeMaterialAssets is performed for all Unity versions in spine-unity 4.0 an newer. See commit 752e72e, see #1822, see #1559. 2021-01-22 11:18:43 +01:00
Harald Csaszar
6e2e46e198 Merge branch '3.8' into 4.0-beta 2021-01-22 11:11:20 +01:00
Harald Csaszar
752e72eb8f [unity] Added native support for slot blend modes Additive, Multiply and Screen with automatic assignment at newly imported skeleton assets. Added upgrade functionality. Closes #1822, closes #1559. 2021-01-22 11:05:41 +01:00
Harald Csaszar
3d3f019817 [unity] Changed default Sprite shader ramp mode from Old Hard to Hard for 4.0 and newer. This will affect newly created materials only. See commit 2fde05e. 2020-12-09 19:22:13 +01:00
Harald Csaszar
90f7f909eb Merge branch '3.8' into 4.0-beta 2020-12-09 19:09:08 +01:00
Harald Csaszar
2fde05e899 [unity] Fixed URP and LWRP Sprite shader ramp only respecting main directional light, see #1819. Addition: All Sprite shaders now provide four Diffuse Ramp modes as an Inspector Material parameter: Hard, Soft, Old Hard and Old Soft. 2020-12-09 19:01:03 +01:00
badlogic
279fb3fca9 Merge branch '3.8' into 4.0-beta 2020-12-05 10:06:38 +01:00
Harald Csaszar
16b95b971b [unity] Now all URP and LWRP shaders support SRP batching. Closes #1813. 2020-12-02 20:23:31 +01:00
badlogic
ae6eda01f7 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-ts/build/spine-all.js.map
#	spine-ts/build/spine-canvas.js.map
#	spine-ts/build/spine-core.js.map
#	spine-ts/build/spine-player.js.map
#	spine-ts/build/spine-threejs.js.map
#	spine-ts/build/spine-webgl.js.map
#	spine-ts/canvas/example/assets/spineboy-ess.json
#	spine-ts/canvas/example/assets/spineboy.png
#	spine-ts/player/example/assets/raptor-pma.png
#	spine-ts/player/example/assets/raptor-pro.json
#	spine-ts/player/example/assets/spineboy-pma.png
#	spine-ts/player/example/assets/spineboy-pro.skel
#	spine-ts/threejs/example/assets/raptor-pro.json
#	spine-ts/threejs/example/assets/raptor.png
#	spine-ts/webgl/example/assets/coin-pro.skel
#	spine-ts/webgl/example/assets/goblins-pro.skel
#	spine-ts/webgl/example/assets/mix-and-match-pma.atlas
#	spine-ts/webgl/example/assets/mix-and-match-pma.png
#	spine-ts/webgl/example/assets/mix-and-match-pro.skel
#	spine-ts/webgl/example/assets/owl-pma.png
#	spine-ts/webgl/example/assets/owl-pro.skel
#	spine-ts/webgl/example/assets/raptor-pma.png
#	spine-ts/webgl/example/assets/raptor-pro.skel
#	spine-ts/webgl/example/assets/spineboy-pma.png
#	spine-ts/webgl/example/assets/spineboy-pro.skel
#	spine-ts/webgl/example/assets/spineboy.png
#	spine-ts/webgl/example/assets/stretchyman-pro.skel
#	spine-ts/webgl/example/assets/tank-pma.atlas
#	spine-ts/webgl/example/assets/tank-pma.png
#	spine-ts/webgl/example/assets/tank-pro.skel
#	spine-ts/webgl/example/assets/vine-pro.skel
2020-11-27 18:47:44 +01:00
Harald Csaszar
3151c18b6c [unity] SkeletonRenderer components now provide an additional update mode Only Event Timelines at the Update When Invisible property. Added methods to AnimationState for proper behaviour during transitions. Closes #1815. 2020-11-27 14:03:41 +01:00
Harald Csaszar
bf4df3b5f3 Merge branch '3.8' into 4.0-beta 2020-11-16 21:31:57 +01:00
Harald Csaszar
f1af1d5bf1 [unity] GetRemappedClone() method now provides an additional parameter pivotShiftsMeshUVCoords for MeshAttachments to prevent uv shifts at a non-central Sprite pivot. Closes #1809. 2020-11-13 19:12:05 +01:00
Harald Csaszar
97cf4a9294 Merge branch '3.8' into 4.0-beta 2020-11-11 16:06:57 +01:00
Harald Csaszar
384871b1eb [unity] Previous commit 75b9321 had changelog.md.orig added instead of changelog.md.orig, corrected now. Added BoundingBoxFollowerGraphic component. [..] See #1770. 2020-11-10 16:53:35 +01:00
badlogic
ee3f088e6c Merge branch '3.8' into 4.0-beta 2020-10-23 11:26:34 +02:00
Harald Csaszar
90486705f6 [unity] Now providing BeforeApply update callbacks at all skeleton animation components. Closes #1783. 2020-10-14 12:17:01 +02:00
Harald Csaszar
75efe44fab [unity] Detecting and reporting more incorrect shader/component configurations via Inspector warning boxes and log output. Closes #1765. 2020-10-07 20:23:52 +02:00
Harald Csaszar
5215d954a7 [unity] Added CHANGELOG entry for previous commit 1b8a378 (Timeline: Added SpineAnimationStateClip holdPrevious parameter). 2020-10-06 17:22:58 +02:00
Harald Csaszar
ac60110629 [unity] Added changelog entry mentioning the added "mix and Match Skins" example scene, introduced by commit 899a109. See #1628. 2020-09-30 17:40:51 +02:00
Harald Csaszar
106250a6c5 [unity] Improved CHANGELOG documentation text. Related to code changes of commit d43b7b0. See #1756. 2020-09-28 14:25:34 +02:00
Harald Csaszar
d43b7b0a9f [unity] Fixed enabling CanvasGroup Compatible at Spine-SkeletonGraphic-TintBlack shader causing Additive blend mode not to work but instead hide the attachment completely. Now providing a Canvas Group Tint Black parameter a SkeletonGraphic Inspector in the Advanced section. Closes #1756. 2020-09-11 20:38:14 +02:00
Harald Csaszar
7011a462db [unity] Added root motion scale parameters. Added SkeletonRootMotion.AdjustRootMotionToDistance() and more for delta compensation (to e.g. stretch a jump to a given distance). Closes #1754. 2020-09-02 19:48:28 +02:00
Harald Csaszar
9667bd2293 [unity] Added OnMeshAndMaterialsUpdated callback for SkeletonRenderSeparator and SkeletonPartsRenderer. Closes #1752. 2020-09-01 16:51:02 +02:00
Harald Csaszar
30ce32519f [unity] Added outline-only shader Spine/Outline/OutlineOnly-ZWrite respecting overlapping attachments. Renders in two passes. Closes #1751. 2020-08-31 19:34:40 +02:00