5594 Commits

Author SHA1 Message Date
Harald Csaszar
6df16d4fe1 [unity] Added ontline-only single pass shaders to LWRP and URP packages. This allows for separate outline child GameObjects that reference the existing Mesh of their parent, and re-draw the mesh using this outline shader.
The component to ease replacing materials of the parent will be added in separate upcoming commit.
2020-03-27 16:56:33 +01:00
Harald Csaszar
3bac3da543 [unity] Added additional measures to prevent undesired setting of TK2D define. It has strangely been reported as enabled as if the respective button was pressed, although it never appeared - potentially a unity inspector UI bug. 2020-03-27 12:35:01 +01:00
Harald Csaszar
501677b969 [unity] Fixed SkeletonMecanim unnecessarily applying clips twice. Closes #1648. 2020-03-26 16:12:33 +01:00
Harald Csaszar
16c81c7b97 [unity] Fixed Update potentially not being called after Initialize in the first frame after instantiation in certain conditions. Closes #1646. 2020-03-23 13:49:31 +01:00
Harald Csaszar
e1274f096d [xna] Added normalmap support via SpineEffectNormalmap and added support for loading multiple texture layers following a suffix-pattern. Closes #1645. 2020-03-20 19:37:39 +01:00
Harald Csaszar
36a6d62ef0 [unity] Fixed null reference exception at ActivateBasedOnFlipDirection Component. Closes #1643. 2020-03-17 11:42:07 +01:00
Harald Csaszar
016f438d59 [unity] SkeletonGraphic now fully supports SkeletonUtility for generating a hierarchy of SkeletonUtilityBones. Closes #1637. 2020-03-11 20:07:25 +01:00
Harald Csaszar
b86333b11a [unity] Fixed drag&drop instantiation using last hierarchy node as parent when dopping over empty hierarchy area below last item. Closes #1641.
Also fixed a null reference exception in TextureModificationWarningProcessor reported by a user.
2020-03-11 15:30:18 +01:00
Harald Csaszar
919b7badcb [unity] Added missing Fixed Normal Space option World-Space to all Sprite shaders (including URP and LWRP packages). Closes #1638. 2020-03-10 14:10:31 +01:00
Harald Csaszar
daa2a76b3a [unity] Fixed Getting Started/4 Object Oriented Sample to no longer use Spineboy-unity asset but Spineboy-pro instead (which is included as a complete Spine example project on the editor side). See #1628. 2020-03-10 12:41:51 +01:00
Harald Csaszar
a4127df1a8 [unity] Fixed Tint black being ignored when used in combination with additive. Secondary dark color was not premultiplied with alpha before passed to the shader but multiplied in shader, which was wrong (as alpha was set to 0 for additive blending then). Closes #1634. 2020-03-06 14:53:56 +01:00
Harald Csaszar
216193e4b3 [unity] Fixed SkeletonUtilityEyeConstraint wrong offset when disabled and re-enabled. Closes #1632. 2020-03-02 17:05:17 +01:00
Harald Csaszar
3d7a4b3c05 [unity] Cleaned up and re-serialized all Spine Examples example scenes in regards to problems with recent Unity versions (some assets did not display due to serialization differences / auto update problems). 2020-02-26 20:45:20 +01:00
Harald Csaszar
917b65e45a [unity] Fixed example scene loading problems in recent Unity versions for scene "Dragon" and "Goblins". 2020-02-26 19:50:19 +01:00
Harald Csaszar
41f9aeac18 [unity] Fixed a bug in SkeletonGraphic when submesh instructions are empty and clipping is active. 2020-02-24 15:42:34 +01:00
Harald Csaszar
8558aa6258 [xna] Added ZSpacing parameter at SkeletonRenderer. 2020-02-20 19:43:20 +01:00
Harald Csaszar
1d824358d1 [xna] Added example SpineEffectOutline.fx to show how to achieve outlines in xna. 2020-02-18 20:01:55 +01:00
Harald Csaszar
844d08b2a4 [unity] Fixed ToAtlasRegionPMAClone() methods, led to undefined behaviour when ApplyPMA followed CopyTexture. Now joined to one method call, thus also improved efficiency. Closes #1616. 2020-02-17 17:50:15 +01:00
Harald Csaszar
68595c439d [unity] Fixed clipping masks not always working on additional atlas pages, when clipping end slot is first submesh attachment. Closes #1618. 2020-02-17 16:21:29 +01:00
Harald Csaszar
405628baca [unity] Fixed Hierarchy drag-and-drop instantiation not working on empty area. Fixes #1614. 2020-02-12 16:01:14 +01:00
Harald Csaszar
aa46627a52 [unity] Unity versions 2018.3+ now use TextureImporter Preset assets instead of template Texture2D assets. Closes #1524. 2020-02-06 20:48:07 +01:00
Harald Csaszar
6d3e63acf7 [unity] Minor bugfixes regarding Spine texture atlas importer reference assets. See #1524. 2020-02-06 19:01:16 +01:00
Harald Csaszar
804d1156da [unity] Spine Preferences now provide an Atlas Texture Reference Settings parameter for applying customizable texture import settings at all newly imported Spine atlas textures. Materials Straight Alpha Texture parameter is also configured accordingly. Closes #1410, closes #1524. 2020-02-05 20:24:50 +01:00
Harald Csaszar
0ecc597a17 [unity] Preventing errors due to accidentally enabling TK2D defines via Spine Preferences, now only showing preferences section when TK2D is installed. Closes #1612. 2020-02-04 18:18:27 +01:00
Mario Zechner
90c2a19364 [cocos2dx] Updated windows build for cocos2d-x v4. 2020-02-03 15:52:50 +01:00
badlogic
0dd2db2627 [cocos2dx] Improve CMake build for cocos2d-x v3 and v4 example projects, based on PR #1572. 2020-02-03 14:57:29 +01:00
badlogic
acee8d0bd4 [cocos2dx] Disable BUILD_EDITOR_SPINE in example project, so our sources in tree get used. 2020-02-03 14:43:19 +01:00
badlogic
2b879f9b7d [lua] Fixed wrong frame array length calculation in TransformConstraintTimeline. Updated spine-love README.md with instructions for debugging the example project with IntelliJ IDEA and EmmyLua. Closes #1611. 2020-02-03 14:21:36 +01:00
Harald Csaszar
3a7aff7a5c [unity] Improved SkeletonGraphic's "Match RectTransform with Mesh Bounds" features: providing a button in the Inspector, automatically called when instantiated in Editor. Closes #1607.
Improved general drag and drop behaviour of SkeletonDataAssets, they are now parented to the drop mouse-over target.
2020-01-30 17:02:25 +01:00
Harald Csaszar
ed40731684 [unity] Fixed unnecessary additional GC allocation of JSON deserializer in Editor (always caused allocation for version check). Closes #1608. 2020-01-27 12:02:16 +01:00
Harald Csaszar
d252df7ece [unity] Fixed some compiler warnings when building for platforms instead of editor. Closes #1604. 2020-01-24 13:55:45 +01:00
Harald Csaszar
e62c42c041 [csharp] Fixed precision problems when inherit rotation is disabled and parent rotated by disabling sin/cos/atan2 look up table based implementation. Define can manually be enabled in code in case anyone really receives any measuarable performance impact (which I did not). Closes #1606. 2020-01-24 12:56:23 +01:00
Harald Csaszar
c568169821 [unity] Fixed BoneFollowerGraphic throwing null reference exception if it has no Canvas parent. Closes #1603. 2020-01-21 13:41:26 +01:00
Harald Csaszar
28ab23d6d0 [unity] minor - fixed method comment closing tag. 2020-01-18 16:57:21 +01:00
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
badlogic
a74555e21f [cpp] Fix name conflict of spine::Polygon with Windows API. Closes #1585. 2020-01-11 15:45:30 +01:00
badlogic
9b801a993e [lua] Fixed animation layering. Cause of the bug was a few places using pairs instead of manually iterating through all indices from 0 to len. Closes #1574. 2020-01-11 15:35:56 +01:00
badlogic
1855870d37 [ts] Forcing text/html mimetype on text assets downloaded by AssetManager and SharedAssetManager. Closes #1583. 2020-01-11 15:03:13 +01:00
Matthias Matthäy
7311dc9931 Set image source after crossOrigin and event handlers to allow crossOrigin image loading (#1533) 2020-01-11 14:27:18 +01:00
badlogic
d83c5f9750 Updated CHANGELOG. 2020-01-11 14:10:01 +01:00
badlogic
e60a60ccd5 [ts][threejs] SkeletonMesh now takes an option SkeletonMeshMaterialParametersCustomizer function that allows you to modify the ShaderMaterialParameters before the material is finalized. Use it to modify things like THREEJS' Material.depthTest etc. See #1590. 2020-01-11 14:08:58 +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