219 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Harald Csaszar
714e37a3c4 [unity] SkeletonUtility spawn methods were not saved in Prefab mode. Closes #1481. 2019-09-05 19:33:05 +02:00
Harald Csaszar
9483df76b5 [unity] SkeletonUtility spawn methods were not saved in Prefab mode. Closes #1481. 2019-09-05 19:31:59 +02:00
Harald Csaszar
2518dddad8 [unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464. 2019-09-04 17:20:44 +02:00
Harald Csaszar
4c1e01474e [unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464. 2019-09-04 17:19:24 +02:00
Harald Csaszar
617eb38340 [unity] Fixed more fragment shader output declarations (from COLOR to SV_Target), fixes ps4 shader compile error. Related to commit e229dab. See #1374. 2019-09-03 20:06:10 +02:00
Harald Csaszar
6b84079a08 [unity] Fixed more fragment shader output declarations (from COLOR to SV_Target), fixes ps4 shader compile error. Related to commit e229dab. See #1374. 2019-09-03 20:03:26 +02:00
Harald Csaszar
df81d607cb [unity] Minor: improved warning message for incorrect material setup, added object reference so that you can jump to the respective object that caused the problem. 2019-09-03 14:52:28 +02:00
Harald Csaszar
3e55e5396e [unity] Minor: improved warning message for incorrect material setup, added object reference so that you can jump to the respective object that caused the problem. 2019-09-03 14:52:12 +02:00
Harald Csaszar
8fd7eb7659 [unity] Minor: Improved material settings warning text to be more precise. 2019-09-03 12:39:47 +02:00
Harald Csaszar
40e69c9164 [unity] Minor: Improved material settings warning text to be more precise. 2019-09-03 12:39:32 +02:00
Harald Csaszar
b1165da709 [unity] Fixed a bug where non-spine json files were reporting false errors. 2019-09-03 12:24:05 +02:00
Harald Csaszar
af3d657a11 [unity] Fixed a bug where non-spine json files were reporting false errors. 2019-09-03 12:23:20 +02:00
Harald Csaszar
38d0204e72 [unity] Providing error dialog and verbose error log message in case of version mismatch. Also providing error description when viewing skeletonData in inspector. Closes #1463. 2019-08-28 17:41:11 +02:00
NathanSweet
45362e60bf [all] Source clean up, formatting, and tabs for indentation. 2019-08-28 17:36:51 +02:00
Harald Csaszar
1a34ed59d5 [unity] Providing error dialog and verbose error log message in case of version mismatch. Also providing error description when viewing skeletonData in inspector. Closes #1463. 2019-08-28 17:30:35 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00