685 Commits

Author SHA1 Message Date
Harald Csaszar
aa46f411ab [unity] Made all shaders (including URP and LWRP shaders) compatible with Linear Color Space. Closes #1301. 2021-03-31 20:44:45 +02:00
Harald Csaszar
4fb6a7f535 Merge branch '3.8' into 4.0-beta 2021-03-24 19:28:22 +01:00
Harald Csaszar
fdd3a663ef [unity] Fixed binary .skel.bytes file incorrectly being reported as .json (and import being aborted). Closes #1867. 2021-03-24 19:27:15 +01:00
Harald Csaszar
20e6eedc16 [unity] Fixed Outline shaders 4 and 8 neighbourhood outline thickness consistency. There was an obvious bug in the shader, dividing through the wrong number of samples. Closes #1864. 2021-03-23 16:24:53 +01:00
Harald Csaszar
c9e52024f5 Merge branch '3.8' into 4.0-beta 2021-03-19 16:15:39 +01:00
Harald Csaszar
0fb0b065d7 [unity] Fixed SkeletonMecanim BlendTree animations being incorrectly applied on WebGL. Was numeric problem of weight == 0 and actual weight being e.g. 1.1E-15. Closes #1862. 2021-03-19 16:10:42 +01:00
Harald Csaszar
bb0a4f6998 [unity] Fixed error message output behaviour in SkeletonRenderer.Initialize when quiet is set (quiet logic was just plain wrong). 2021-03-18 17:03:03 +01:00
Harald Csaszar
417388d2e7 [unity] Now detecting and warning when binary or json file has been exported with the opposite ending. Improved loading error reporting behaviour. Closes #1857. 2021-03-16 15:09:04 +01:00
Harald Csaszar
3b5f0b1c35 Merge branch '3.8' into 4.0-beta 2021-03-10 14:50:38 +01:00
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
b6793b9a9d [unity] Fixed Sprite shaders incorrectly applying PMA vertex colors again in Premultiply Alpha blend mode. Closes #1854. 2021-03-04 18:55:57 +01:00
Harald Csaszar
4a43174bce Merge branch '3.8' into 4.0-beta 2021-03-04 18:36:22 +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
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
b5a7601a41 [unity] Fixed atlas asset problems after re-export with latest 4.0 Spine Editor beta version. 2021-03-02 15:57:28 +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
f85907965c Merge branch '3.8' into 4.0-beta 2021-02-22 20:47:32 +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
30906eabdc [unity] BoneFollower property pair followScale and followScaleMode are reverted back to followLocalScale. Automatically updates serialized values. Reverts changes by commit cdcdb64 which no longer provide any benefits. 2021-02-12 19:57:01 +01:00
Harald Csaszar
f9c81e9040 Merge branch '3.8' into 4.0-beta 2021-02-11 19:38:49 +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
6e2e46e198 Merge branch '3.8' into 4.0-beta 2021-01-22 11:11:20 +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
c84e0328f1 Merge branch '3.8' into 4.0-beta 2021-01-11 15:11:41 +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
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
Harald Csaszar
1a431045c6 [unity] Fixed new atlas format import after atlas format changes (see commit f8d6359). Replaced hardcoded first pass of dual-pass atlas loading with proper Atlas method calls. 2020-12-21 19:16:09 +01:00
Nathan Sweet
f8d6359b32 [csharp][unity] Updated TextureAtlas parsing for latest format. 2020-12-20 15:26:05 -08:00
badlogic
19bc4d4413 Merge branch '3.8' into 4.0-beta 2020-12-10 16:09:26 +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
279fb3fca9 Merge branch '3.8' into 4.0-beta 2020-12-05 10:06: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
badlogic
ae6eda01f7 Merge branch '3.8' into 4.0-beta
# Conflicts:
#	spine-ts/build/spine-all.js.map
#	spine-ts/build/spine-canvas.js.map
#	spine-ts/build/spine-core.js.map
#	spine-ts/build/spine-player.js.map
#	spine-ts/build/spine-threejs.js.map
#	spine-ts/build/spine-webgl.js.map
#	spine-ts/canvas/example/assets/spineboy-ess.json
#	spine-ts/canvas/example/assets/spineboy.png
#	spine-ts/player/example/assets/raptor-pma.png
#	spine-ts/player/example/assets/raptor-pro.json
#	spine-ts/player/example/assets/spineboy-pma.png
#	spine-ts/player/example/assets/spineboy-pro.skel
#	spine-ts/threejs/example/assets/raptor-pro.json
#	spine-ts/threejs/example/assets/raptor.png
#	spine-ts/webgl/example/assets/coin-pro.skel
#	spine-ts/webgl/example/assets/goblins-pro.skel
#	spine-ts/webgl/example/assets/mix-and-match-pma.atlas
#	spine-ts/webgl/example/assets/mix-and-match-pma.png
#	spine-ts/webgl/example/assets/mix-and-match-pro.skel
#	spine-ts/webgl/example/assets/owl-pma.png
#	spine-ts/webgl/example/assets/owl-pro.skel
#	spine-ts/webgl/example/assets/raptor-pma.png
#	spine-ts/webgl/example/assets/raptor-pro.skel
#	spine-ts/webgl/example/assets/spineboy-pma.png
#	spine-ts/webgl/example/assets/spineboy-pro.skel
#	spine-ts/webgl/example/assets/spineboy.png
#	spine-ts/webgl/example/assets/stretchyman-pro.skel
#	spine-ts/webgl/example/assets/tank-pma.atlas
#	spine-ts/webgl/example/assets/tank-pma.png
#	spine-ts/webgl/example/assets/tank-pro.skel
#	spine-ts/webgl/example/assets/vine-pro.skel
2020-11-27 18:47:44 +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
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
1d59409bde Merge branch '3.8' into 4.0-beta 2020-11-24 18:02:22 +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
bf4df3b5f3 Merge branch '3.8' into 4.0-beta 2020-11-16 21:31:57 +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
Harald Csaszar
97cf4a9294 Merge branch '3.8' into 4.0-beta 2020-11-11 16:06:57 +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
81aee82c91 Merge branch '3.8' into 4.0-beta 2020-10-29 15:43:48 +01:00
Harald Csaszar
b62c531487 [unity] Now failing more gracefully when loading of binary skeleton data fails. Fixed memory leak when loading incompatible binary skeleton asset. Closes #1799. See #1497. 2020-10-28 19:33:13 +01:00