5813 Commits

Author SHA1 Message Date
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
Harald Csaszar
23bce387af [unity] Added problematic component/material combination check for Canvas Group Tint Black when not using a SkeletonGraphic Tint Black shader. See #1812. 2020-11-24 20:14:03 +01:00
Harald Csaszar
068a624608 [unity] Fixed regression of SkeletonMecanim not handling negative values at a State's Speed property. Now both Speed and Multiplier are respected. Closes #1810. 2020-11-20 21:24:02 +01:00
Harald Csaszar
968a7b5777 [xna] Added a Z property to SkeletonRenderer to provide a constant Z offset added at all vertices. 2020-11-19 20:06:39 +01:00
Harald Csaszar
a67e138f90 [xna] Cleanup of examples assets and code, added missing raptor_normals.png file. 2020-11-19 19:53:05 +01:00
Harald Csaszar
6d83190946 [unity] Added null checks at BoundingBoxFollower classes to handle SkeletonData not being assigned. 2020-11-16 13:00:31 +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
badlogic
42b7efdcd6 [xna] Fix CRLF. 2020-11-13 09:32:03 +01:00
Harald Csaszar
2243ec9e98 [unity] Corrected incorrect using statement (leading to a compile error under some conditions), related to previous commit 75b9321. Added BoundingBoxFollowerGraphic component. [..] See #1770. 2020-11-12 12:19:30 +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
Harald Csaszar
d0681d7929 [unity] Previous commit 75b9321 was missing two added files. Added BoundingBoxFollowerGraphic component. [..] See #1770. 2020-11-10 16:45:09 +01:00
Harald Csaszar
75b932173d [unity] Added BoundingBoxFollowerGraphic component. Added Inspector context menu functions Add all BoundingBoxFollower GameObjects for SkeletonRenderer and SkeletonGraphic. Closes #1770. 2020-11-10 16:37:48 +01:00
badlogic
44e9a0e5c3 [xna] Fixes #1782, wrong indexing of debug polygon vertices in renderer. 2020-10-29 15:43:33 +01:00
Harald Csaszar
64dc6f66a4 [unity] Added null check at Timeline SpineAnimationStateClip. Closes #1800. 2020-10-28 16:00:54 +01:00
Harald Csaszar
88f403f5fc [unity] RectMask2D no longer ignored by SkeletonGraphic with Multiple CanvasRenderers option enabled. Fixes #1802. 2020-10-28 14:59:43 +01:00
RH
f06fd410e8
Fix to address issue introduced in PR #1787 where the same ProgramState was being used for each attachment, but would cause problems if the attachments did not use the same texture. (#1801) 2020-10-27 09:34:31 +01:00
badlogic
5a1d53bb16 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2020-10-21 20:50:46 +02:00
Harald Csaszar
239de24002 [unity] Fixed compile error in LWRP shaders due to incorrect include path. Closes #1793. 2020-10-21 14:48:43 +02:00
badlogic
6cdbcf5c6d Merge branch 'custom-program-state' of https://github.com/halx99/spine-runtimes into halx99-custom-program-state 2020-10-21 14:31:27 +02:00