685 Commits

Author SHA1 Message Date
badlogic
89d9474e40 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-12-20 12:23:21 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Harald Csaszar
d18f64c734 [unity] Added support for Universal Render Pipeline (URP), including 2D Renderer (2D Lights) of Unity 2019.3 through an additional UPM package. Closes #1413. 2019-12-20 10:08:21 +01:00
Harald Csaszar
d4b29c34c7 [unity] Added support for Universal Render Pipeline (URP), including 2D Renderer (2D Lights) of Unity 2019.3 through an additional UPM package. Closes #1413. 2019-12-20 10:07:20 +01:00
Harald Csaszar
9d46a0c8bf [unity] Now supporting correct CanvasGroup alpha blending at SkeletonGraphic shaders via an additional parameter CanvasGroup Compatible. Closes #1576. 2019-12-16 14:54:11 +01:00
Harald Csaszar
ce0b4ff2b2 [unity] Now supporting correct CanvasGroup alpha blending at SkeletonGraphic shaders via an additional parameter CanvasGroup Compatible. Closes #1576. 2019-12-16 14:52:08 +01:00
Harald Csaszar
01c252689d [unity] Fixed Spine shader stencil parameters being hidden/shown inconsistently. Now there is a unified stencil foldout section, hiding complexity by default. Closes #1570. 2019-12-12 15:55:11 +01:00
Harald Csaszar
c59b2676bb [unity] Fixed Spine shader stencil parameters being hidden/shown inconsistently. Now there is a unified stencil foldout section, hiding complexity by default. Closes #1570. 2019-12-12 15:54:16 +01:00
Harald Csaszar
814d3a0408 [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:51 +01:00
Harald Csaszar
9550e9e6bc [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:02 +01:00
Harald Csaszar
cdcdb64a4f [unity] BoneFollower can now optionally follow (uniform) world scale of the reference bone. Renamed BoneFollower.followLocalScale to followScale. Scenes and prefabs are automatically upgraded, code needs manual correction. 2019-12-10 16:28:32 +01:00
Harald Csaszar
80f42c65a4 [unity] Minor cleanup, removed some useless comments. 2019-12-02 17:43:48 +01:00
Harald Csaszar
1d5189db81 [unity] Cleanup: merged common code of GetRepackedAttachments and GetRepackedSkin. See commit e3245ed. 2019-12-02 16:30:32 +01:00
Harald Csaszar
e3245ed590 [unity] Added support for additional texture channels (e.g. normal maps) at GetRepackedAttachments(). Commit before merging common code of GetRepackedAttachments and GetRepackedSkin. See #1519. 2019-12-02 16:21:45 +01:00
Harald Csaszar
d99fd64e2d [unity] Re-added removed extension method GetRepackedAttachments(). Cleanup: Removed extension methods Attachment.GetRegion(). See commit f2a8c9a. See #1557. 2019-11-29 16:45:20 +01:00
Harald Csaszar
f2a8c9a3c1 [unity][csharp] API Cleanup: removed many redundant extension methods that are now obsolete with Skin and Attachment API of 3.8. Closes #1557. Fixed an error in Skin where Skin.setAttachment() did not work as expected (See #1485). C# implementation is different to ref-impl here as struct keys do not allow for changing key.Attachment later without removing and readding the entry to the dictionary. 2019-11-29 12:31:39 +01:00
Harald Csaszar
de84c1000e [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:40:13 +01:00
Harald Csaszar
237b33d82f [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:39:39 +01:00
Harald Csaszar
ed68aef0ad [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:20:58 +01:00
Harald Csaszar
68ae7bd441 [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:19:52 +01:00
Harald Csaszar
ffb4425e42 [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:07:48 +01:00
Harald Csaszar
7da21aff7a [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:03:40 +01:00
Harald Csaszar
0006cd8b3c [unity] Fixed Spine/Skeleton Lit shader not being affected by point lights. Closes #1550. Also fixed outline 4 vs 8 neighbourhood parameter being ignored (due to #pragma multi_compile / #pragma shader_feature not being evaluated in included cginc files, too late in preprocessor stage). 2019-11-19 17:15:06 +01:00
Harald Csaszar
fa712fc325 [unity] Fixed Spine/Skeleton Lit shader not being affected by point lights. Closes #1550. Also fixed outline 4 vs 8 neighbourhood parameter being ignored (due to #pragma multi_compile / #pragma shader_feature not being evaluated in included cginc files, too late in preprocessor stage). 2019-11-19 17:10:35 +01:00
Harald Csaszar
66a4a5a60b [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:17:05 +01:00
Harald Csaszar
83e03e9c49 [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:14:22 +01:00
badlogic
f956dc4bfc Merge branch '3.8' into 3.9-beta 2019-11-15 12:57:48 +01:00
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +01:00
badlogic
bc2816867e Merge branch '3.8' into 3.9-beta 2019-10-31 19:27:56 +01:00
Harald Csaszar
179bb49f52 [unity] Real physics hinge chains for both 2D and 3D physics. Create hinge chain` now create proper setup for Unity physics, including flipping support. Closes #1515. 2019-10-31 17:54:38 +01:00
badlogic
114dd18c46 Merge branch '3.8' into 3.9-beta 2019-10-31 17:10:50 +01:00
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +01:00
Harald Csaszar
bbbb1495b2 [unity] GetRepackedSkin allows to include normal maps (and other texture properties) during repacking via optional parameter. Closes #1519. 2019-10-09 22:06:39 +02:00
Harald Csaszar
fc0a5df0db [unity] GetRepackedSkin allows to include normal maps (and other texture properties) during repacking via optional parameter. Closes #1519. 2019-10-09 22:06:12 +02:00
Harald Csaszar
01a4c0c662 [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:04:19 +02:00
Harald Csaszar
e769b848da [unity] Fixed SkeletonGraphic displaying setup pose instead of first frame on freeze. Closes #1511. 2019-10-03 16:03:44 +02:00
Harald Csaszar
3dfe37c67c [untiy] Fixed a compile error when building executable (Texture2D.alphaIsTransparency exists only in editor). 2019-09-27 12:05:02 +02:00
Harald Csaszar
19bbd5519f [untiy] Fixed a compile error when building executable (Texture2D.alphaIsTransparency exists only in editor). 2019-09-27 12:03:50 +02:00
Harald Csaszar
eb086a07e8 [unity] Fixed ignored SkeletonAnimation looping change when AnimationName is the same. Closes #1396. 2019-09-26 18:44:50 +02:00
Harald Csaszar
b1c1dac17a [unity] Fixed ignored SkeletonAnimation looping change when AnimationName is the same. Closes #1396. 2019-09-26 18:43:17 +02:00
Harald Csaszar
1f0269b919 [unity] Renamed misleading MixMode.SpineStyle enum name at SkeletonMecanim to MixMode.Hard. SkeletonMecanim Layer Mix Mode now defaults to MixMode.MixNext instead of MixMode.Hard for new instances. Closes #1505. 2019-09-26 13:43:04 +02:00
Harald Csaszar
bfeac4069c [unity] Renamed misleading MixMode.SpineStyle enum name at SkeletonMecanim to MixMode.Hard. SkeletonMecanim Layer Mix Mode now defaults to MixMode.MixNext instead of MixMode.Hard for new instances. Closes #1505. 2019-09-26 13:42:20 +02:00
badlogic
a7d68b7cd5 Merge branch '3.8' into 3.9-beta 2019-09-26 11:38:47 +02:00
Harald Csaszar
9c1f6ad10f [unity] Updated changelog with entry for "Fix draw order" parameter. Changed default value to disabled to maintain previous behaviour. See #1486. 2019-09-25 15:45:37 +02:00
Harald Csaszar
e4ae0ceb1c [unity] Fixed incorrect draw order issue when using LWRP and 3+ submeshes with alternating materials. Introduces a new "Fix draw order" parameter at SkeletonRenderer inspector. Closes #1486. 2019-09-25 15:26:15 +02:00
Harald Csaszar
31f9356af8 [unity] Fixed Skin created by GetRepackedSkin not copying constraints list. See #1474. 2019-09-25 11:03:54 +02:00
Harald Csaszar
159d71b827 [unity] Fixed Skin created by GetRepackedSkin not copying bones list. Closes #1474. 2019-09-24 17:07:12 +02:00
Harald Csaszar
12ca54ab5e [unity] Fixed AtlasUtilities texture clone not copying wrap mode or filter mode. Closes #1478. 2019-09-24 15:50:01 +02:00
badlogic
81938c65c0 Merge branch '3.8' into 3.9-beta 2019-09-23 14:38:43 +02:00
Harald Csaszar
e88cfd4dac [unity] Fixed an exception at SkeletonGraphic when no active attachments are set. MeshGenerator.GenerateSingleSubmeshInstruction() didnt't handle the case of all-null attachments. Improved code to not generate an unnecessary empty instruction. Closes #1491. 2019-09-23 13:12:16 +02:00