5831 Commits

Author SHA1 Message Date
Harald Csaszar
7cd2c12443 [unity] Fixed SkeletonGraphic Skeleton property not calling Initialize(), as SkeletonRenderer does. Closes #1858. 2021-03-09 12:06:02 +01:00
Harald Csaszar
055a2d993d [unity] Fixed incorrect warnings being issued at unused leftover PMA material keyword. Now when the keyword is unused, no warning is issued. Closes #1856. 2021-03-08 18:09:31 +01:00
Harald Csaszar
2a3d5245d9 [unity] Added null check for SkeletonRenderer.GenerateMeshOverride as reported on the forum. 2021-03-08 12:52:15 +01:00
Harald Csaszar
07b7b9371c [unity] Increased UPM package versions for changes of last commit d50cdef. 2021-03-04 18:31:18 +01:00
Harald Csaszar
d50cdef325 [unity] Corrected and unified Additive Slot behaviour of commit c5c7174 for URP and LWRP shaders (2D and 3D). Now only active for PMA blending and correctly performing alpha clip. See #1850. 2021-03-04 17:47:48 +01:00
Harald Csaszar
47e357aa88 [unity] Fixed Spine/Sprite core shaders now correctly drawing Additive Slots. Closes #1853. 2021-03-04 17:25:19 +01:00
Harald Csaszar
c5c71747c3 [unity] Fixed single pass additive slot blend mode for all URP and LWRP shaders (2D and 3D). Closes #1850. 2021-03-03 20:18:35 +01:00
Harald Csaszar
16e3de63cc [unity] NewSkeletonAnimationGameObject and Initialize() now provide a quiet parameter to omit material warnings. Closes #1852. 2021-03-03 17:07:42 +01:00
Harald Csaszar
7ea2f19836 [unity] GetRemappedClone caused incorrect results at 270 degree roated MeshAttachments. See #1847. 2021-03-01 17:27:00 +01:00
Harald Csaszar
2112d7f6f5 [cpp] Fixed SkeletonBinary access violation if atlas and skeleton data mismatch (when attachment not found). Closes #1849. 2021-02-25 11:58:40 +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
38d8a1362a [unity] Fixed GetRepackedSkin supporting 270 degree rotation of MeshAttachments (new atlas format, when packed with mode Polygons). Closes #1847. 2021-02-22 20:42:57 +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
1163142ba8 [unity] Fixed URP and LWRP SkeletonLit shader not receiving shadows. Closes #1840. Now another known issue of the Sprite shader is surfacing, not handling shadows correctly when rotated 180 degrees (see #1842). 2021-02-17 19:21:50 +01:00
Harald Csaszar
e9f900c333 [cpp] Fixed shadow declaration warnings. Closes #1808. 2021-02-16 19:59:28 +01:00
Harald Csaszar
bce5500290 [unity] SkeletonAnimation inspector exception bugfix. Occurred when switching assigned SkeletonDataAsset from an invalid to a valid one. 2021-02-11 20:26:25 +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
511c05a3c7 [unity] Fixed SkeletonAnimation Inspector code causing incorrect animation playback. Closes #1841. 2021-02-03 22:28:28 +01:00
Harald Csaszar
8908cdd15c [unity] URP Sprite shader now allows Receive Shadow option when Write to Depth is disabled. This option has been greyed out unnecessarily. Closes #1839. 2021-02-03 18:25:27 +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
3a437b79b0 [unity] Minor cosmetic change: moved Spine Preferences window Additive Material line up to maintain same order as in SkeletonDataAsset. 2021-01-22 16:55:07 +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
110581abea [unity] Changing AnimationName in the SkeletonAnimation Inspector now updates every time. Now also repaints GameView accordingly, for both animation and skin changes. Closes #1832. 2021-01-21 13:07:02 +01:00
Harald Csaszar
60b52cb36a [unity] Fixed SkeletonRagdoll and SkeletonRagdoll2D behaving incorrectly when any Transforms are scaled. Closes #1831. 2021-01-19 18:14:52 +01:00
Harald Csaszar
1f76074e62 [unity] Added hint about RectTransform bounds to "Skeleton Graphic" example scene to prevent problems. 2021-01-18 18:31:07 +01:00
Harald Csaszar
9032040503 [ue4] Generated normals are now correctly being flipped at back-faces. Closes #1830. 2021-01-14 20:42:43 +01:00
Harald Csaszar
a088270186 [ue4] Modifying parent materials (of the four blend modes) updates material instances again. Closes #1791. 2021-01-12 20:18:23 +01:00
Harald Csaszar
2039efc5b7 [unity] Fixed a bug introduced in previous commit 82a0de8, was not handling not-yet added RawImage components at additional CanvasRenderers. See #1826. 2021-01-08 19:28:32 +01:00
Harald Csaszar
82a0de85bc [unity] Fixed SkeletonGraphic with multiple materials displaying white square and issuing error when number of renderers changes in SkeletonGraphic.Rebuild. Closes #1826. 2021-01-08 17:59:18 +01:00
Harald Csaszar
e95e130e9b [unity] Changed implementation of previous bugfix commit ab91a35 of Editor error messages upon startup. Uses less code and executes a bit earlier. See #1779. 2021-01-07 20:52:14 +01:00
Harald Csaszar
ab91a3539d [unity] Fixed Editor error messages upon startup, most likely due to AssetDatabase not being fully initialized (Unity 2020.2). Closes #1779. 2021-01-07 20:25:01 +01:00
Harald Csaszar
a7f629f504 [unity] Fixed BoneFollowerGraphic silently failing at Transform instead of RectTransform by requiring component RectTransform. Closes #1828. 2021-01-07 16:20:19 +01:00
Nathan Sweet
be84904181 Fixed Skeleton Viewer for libgdx TextureAtlas changes. 2021-01-02 18:41:51 -08:00
Harald Csaszar
769f048f55 [unity] Added a null-check for _diffuseRamp parameter at Sprite shaders GUI. Cleaned up URP 2D example assets: textures and materials now all using straight alpha textures, names shortened. 2020-12-22 17:17:33 +01:00
badlogic
6c1f8ce784 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-12-10 16:08:47 +01:00
badlogic
9fef35bf7a [lua] Remove logging. 2020-12-10 16:08:40 +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
Harald Csaszar
473caafd00 [unity] Fixed SRP batching support at Sprite shader of URP and LWRP shaders, with enabled rim light they were not compatible. See #1813. 2020-12-09 13:39:24 +01:00
badlogic
7ac47d191c Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-12-05 10:06:16 +01:00
badlogic
444810c598 [lua] Fixed #1820
- Port of TransformMode.noRotationOrReflection was incorrect.
- AnimationState.applyAttachmentTimeline was passed incorrect arguments.
2020-12-05 10:06:08 +01:00
Harald Csaszar
ac63150958 [unity] Increased URP and LWRP package version number for Unity Package Manager (for last commit's modifications). 2020-12-02 21:11: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
Harald Csaszar
eb3d56c9e8 [unity] Fixed Atlas asset assignment upon import which did not prioritize an atlas of the same name as the skeleton. Closes #1818. 2020-12-01 16:20:12 +01:00
Harald Csaszar
f365815127 [unity] Fixed preferences constantly loading in Unity 2020.1+ when not at default location. Closes #1817. 2020-11-30 20:05:27 +01:00
badlogic
51a0641c6e [lua] Closes 1816, mix duration wasn't set correctly in AnimationState. 2020-11-30 15:56:07 +01:00
badlogic
7bfcbe1b7a Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-11-27 18:45:27 +01:00
badlogic
490d169ea2 [ts] Closes #1804. 2020-11-27 18:45:18 +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
af9d807460 [unity] Fixed URP Sprite shader shadow artifacts at cascade border (occured after Universal RP package versions 7.2). Still compatible with older versions before 7.2. Closes #1814. 2020-11-26 18:33:44 +01:00
Harald Csaszar
dc8b249999 [csharp] Added getter accessors for Atlas.Pages and Atlas.Regions as they were missing (only enumeration of regions or access by name was possible). 2020-11-26 15:36:30 +01:00