5895 Commits

Author SHA1 Message Date
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
badlogic
ebaa3a8756 [ts] Fix up #1762 for canvas backend. 2020-10-21 14:29:28 +02:00
badlogic
e45c8ca5db Merge branch '3.8' of https://github.com/MikalDev/spine-runtimes into MikalDev-3.8 2020-10-21 14:21:05 +02:00
badlogic
d37854e12d [sfml] Fixes #1786, sfml-cpp example must keep debug extension alive. 2020-10-21 14:16:14 +02:00
Harald Csaszar
d4654588fb [unity] Fixed animation not playing first time entering play mode after compilation. Related to disabled Domain/Scene reload. See #1621. 2020-10-19 18:46:07 +02:00
Harald Csaszar
17e8373e47 [unity] Fixed SkeletonMecanim handling negative NormalizedTime incorrectly. Closes #1790. 2020-10-19 17:13:34 +02:00
Harald Csaszar
16e02fdad6 [xna] Changed SkeletonDebugRenderer bone color attributes to public so that they can be modified by users. 2020-10-19 14:35:31 +02:00
Harald Csaszar
3a950cd33e [unity] Now SpineSettings.asset file can be placed anywhere in the Assets directory. Closes #1789. 2020-10-19 14:07:19 +02:00
halx99
21185a1fc3 fix 2020-10-16 18:46:13 +08:00
halx99
5bacfcd733 SkeletonTwoColorBatch also support custom program 2020-10-16 18:42:45 +08:00
halx99
84b0af8ac5 Fix custom program state not applied at cocos2d-x-4.0 2020-10-16 17:48:30 +08:00
Harald Csaszar
90486705f6 [unity] Now providing BeforeApply update callbacks at all skeleton animation components. Closes #1783. 2020-10-14 12:17:01 +02:00
Harald Csaszar
c3bfac7edd [unity] Fixed a compile error on older .NET versions, introduced by last commit 75efe44. See #1765. 2020-10-07 20:33:51 +02:00
Harald Csaszar
75efe44fab [unity] Detecting and reporting more incorrect shader/component configurations via Inspector warning boxes and log output. Closes #1765. 2020-10-07 20:23:52 +02:00
Harald Csaszar
5215d954a7 [unity] Added CHANGELOG entry for previous commit 1b8a378 (Timeline: Added SpineAnimationStateClip holdPrevious parameter). 2020-10-06 17:22:58 +02:00
Harald Csaszar
1b8a378f4f [unity] Timeline: Added SpineAnimationStateClip holdPrevious parameter. Closes #1775. 2020-10-06 17:15:27 +02:00
Harald Csaszar
977133fc38 [unity] Fixed warnings/messages reported by Microsoft's Analyzers for Unity. Closes #1753. 2020-10-06 16:16:49 +02:00
Jiří Atanasovsky
40d738d8b8
Update AnimationState.lua (#1691) 2020-10-06 13:43:15 +02:00
HALX99
e1692353f2
Add missing const-qualifiers (#1732) 2020-10-06 13:42:39 +02:00