1137 Commits

Author SHA1 Message Date
Harald Csaszar
ec7f79d460 [unity] Fixed color space of normalmap result when calling GetRepackedSkin() in Linear color space project. Providing additional parameter to specify additional texture layer color space now. Closes #1602. 2020-01-18 16:31:21 +01:00
Harald Csaszar
1c9bd11aa1 [unity] Added Unity version compatibility info to README.md file. 2020-01-17 14:57:04 +01:00
Harald Csaszar
9acf99e763 [unity] Fixed shader compilation error on PS4 platform related to static const in function. Closes #1600. 2020-01-14 19:26:45 +01:00
Harald Csaszar
3cf66670cc [unity] Fixed SkinUtilities.GetClonedSkin performing shallow copy at Attachment key. Closes #1599. 2020-01-14 18:54:04 +01:00
Harald Csaszar
ce61d429fd [unity] Fixed SkeletonAnimationMulti sample component showing wrong first frame after switching skeletons. Closes #1598. 2020-01-13 18:02:35 +01:00
Harald Csaszar
a659b70f18 [unity] Fixed Universal Render Pipeline/2D/Spine/Sprite negative scaleX losing normal-map functionality. Closes #1591. 2020-01-09 18:31:39 +01:00
Harald Csaszar
5565022e42 [unity] minor: added parameter description comment. 2020-01-08 21:29:28 +01:00
Harald Csaszar
0f341f0594 [unity] Fixed GetRepackedSkin partially ignoring textureFormat argument. Closes #1593. Also added optional TextureFormat array parameter for additional texture layers. 2020-01-08 20:44:25 +01:00
Harald Csaszar
99ff4cba6b [unity] Minor - fixed a component menu name string (looed like accidental string replacement). 2020-01-08 20:27:07 +01:00
Harald Csaszar
c1fd32abfd [unity] Fixed Universal Render Pipeline/2D/Spine/Sprite normals being incorrect in transparent areas. Closes #1588. 2020-01-02 18:39:55 +01:00
Harald Csaszar
12897260d7 [unity] Fixed GetRepackedSkin() ignoring mipmaps argument. Closes #1582. 2019-12-23 17:34:37 +01:00
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
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
3f9d7b1c63 [unity] Fixed SkeletonData asset preview constantly loading when editing a prefab. Closes #1545. 2019-12-16 17:13:33 +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
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
9550e9e6bc [unity] Fixed Prefab Inspector constantly reloading in Unity 2019.3. Closes #1387. 2019-12-11 21:04:02 +01:00
Harald Csaszar
68bf9d60df [unity] Fixed error when querying outline properties at LWRP shaders. Closes #1565. 2019-12-09 15:54:56 +01:00
Harald Csaszar
a239aee367 [unity] Import: Fixed Skeleton not being updated when atlas page texture count changed. Closes #1562. 2019-12-05 12:57:29 +01:00
Harald Csaszar
dbdaafc6a0 [unity] Fixed Timeline SpineAnimationStateTrack not showing Track Index parameter in Inspector at older Unity versions. Closes #1558. 2019-12-02 19:10:22 +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
847ec12e3d [unity] Added Outline Shaders example scene to demonstrate switching to outline materials. See #1531. 2019-11-27 13:47:51 +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
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
572560d313 [unity] Updated Hero skeleton assets to new combined one with sword and morning star skins. Added example scene "SkeletonUtility Platformer HingeChain Physics" for demonstration of hinge chain physics. 2019-11-20 14:33:35 +01:00
Harald Csaszar
915273d458 Example scenes: Updated Hero example character project. Merged spine-unity/Hero and ./Hero to a single new Hero project by Soren. The new project provides separate skins for morning star and sword. Updated other spine-unity example project versions. 2019-11-20 13:50:31 +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
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
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +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
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +01:00
Harald Csaszar
226d551594 [unity] Fixed path name backslashes in Path.GetDirectoryName(), replaced by slashes. Due to pathname differences, SetDefaultTextureSettings was not called on import on Unity 2019.1 and 2019.2. See #1514. Added asset context to some log statements to quickly jump to corresponding asset. 2019-10-30 17:30:53 +01:00
Harald Csaszar
86b979e812 [unity] Fixed editor bone scale reset to 1.0 after play mode changes. Closes #1526. 2019-10-22 17:12:39 +02:00
Harald Csaszar
ae2d40fd84 [unity] SetDefaultTextureSettings was not called properly on import. Now fixed with working proper meta-file based solution. Closes #1514. 2019-10-21 13:35:46 +02:00
Harald Csaszar
f595659423 [unity] Fixed compile error on Unity 2018.3+. 2019-10-20 18:43:15 +02:00
Harald Csaszar
5b98c80d32 [unity] Fixed Unity editor bone scale resetting to 1.0 after play mode change. Closes #1526. 2019-10-18 12:39:53 +02:00
Harald Csaszar
d3def95b08 [unity] Added 'SpriteMask and RectMask2D' example scene to demonstrate mask setup. 2019-10-15 15:36:23 +02:00
Harald Csaszar
39773969b6 [unity] Fixed build error on Timeline UPM package and Unity 2018+ due to spine-timeline-editor.asmdef being included in normal build. 2019-10-15 14:25:40 +02:00
Harald Csaszar
241846c16c [unity] Fixed SkeletonRagdoll2D incorrect limit angles in Unity 2019.2+. Closes #1521. 2019-10-14 19:11:52 +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
d517e32442 [unity] Fixed SetDefaultTextureSettings not being called on import. Existing texture settings are preserved. Closes #1514. 2019-10-08 18:00:41 +02:00
Harald Csaszar
2031fe14db [unity] Fixed timeline editor asmdef file for newer unity versions. See commit e4fefcf. See #1262. 2019-10-07 21:51:05 +02:00
Harald Csaszar
82a2c26d54 [unity] Updated timeline documentation and changelog to previous timeline feature commit f0b25c8. See #1262. 2019-10-07 21:07:45 +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
f0b25c8a86 [unity] Added multiple features to Timeline SpineAnimationStateClip such as playback speed, blending by overlap and synchronisation of MixDuration with blend duration. Adds preferences parameter "Use Blend Duration" which can be disabled to enable old behaviour. Fixes #1262. 2019-10-03 15:31:47 +02:00
Harald Csaszar
9c11431988 [unity] Adapted skeleton baking window to Unity 2018.3 prefab API and added it to context menu again. Closes #1471. 2019-09-27 17:22:19 +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
b1c1dac17a [unity] Fixed ignored SkeletonAnimation looping change when AnimationName is the same. Closes #1396. 2019-09-26 18:43:17 +02:00
Harald Csaszar
29e0768a84 [unity] Fixed SetDefaultTextureSettings overwriting existing user texture settings when re-importing atlas asset. Closes #1507. Fixed next re-import after moving a spine texture setting material texture to null. Closes #1398. Closes #1397. 2019-09-26 16:36:40 +02:00