1668 Commits

Author SHA1 Message Date
Harald Csaszar
02f87a0f9f [unity] All lit shaders now provide an additional parameter Light Affects Additive which defaults to false. This re-introduces flexibility taken away in commit aa46f411. See #1301. 2021-04-07 19:54:08 +02:00
Harald Csaszar
3f9577b5ac [unity] Applied similar optimizing changes to 3.8 commit 3fdbf9a0 (changing new List<> allocation to shared static instance). 2021-04-06 21:40:22 +02:00
Harald Csaszar
bcca63f8f8 [unity] re-applied 3.8 commit 3fdbf9a0 (after reverting merge changes). 2021-04-06 21:36:10 +02:00
Harald Csaszar
598d257b2d [unity] Fixed committed conflict markers (reverted to state beforehand). 2021-04-06 21:18:57 +02:00
badlogic
01902e2393 Merge branch '3.8' into 4.0-beta 2021-04-06 19:05:52 +02:00
Harald Csaszar
97b3f3058b [unity] Added RootMotionDeltaCompensation example component demonstrating simple root motion delta compensation. See #1873. 2021-04-06 17:44:50 +02:00
Harald Csaszar
3fdbf9a061 [unity] Reduced GC footprint of GetRepackedSkin() by reusing static Lists. Closes #1872. 2021-04-02 15:00:32 +02:00
Harald Csaszar
a24c6600f5 [unity] Fixed previous commit not compiling in Unity 2017 due to Vector2.operator* not being supported yet (commit 2bc8827). See #1871. 2021-04-02 12:45:55 +02:00
Harald Csaszar
2bc88270d4 [unity] Fixed Texture 'Max Size' setting causing incorrect image regions (e.g. in repack operations). Closes #1871. 2021-04-02 12:25:23 +02:00
Harald Csaszar
2b21c8f8d2 Merge branch '3.8' into 4.0-beta 2021-04-02 10:22:34 +02:00
Harald Csaszar
1d2df65008 [unity] Improved binary vs json file detection upon skeleton import checks, should fix a reported (potentially asian locale related) issue. Closes #1867. 2021-04-02 09:29:17 +02:00
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
1d2cad34a3 [unity] Fixed incorrect Timeline flip clip state when paused. Closes #1865. 2021-03-23 19:35:27 +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
285da8c43f Merge branch '3.8' into 4.0-beta 2021-03-19 18:24:04 +01:00
Harald Csaszar
26b6d0816c [unity] Timeline flip track now displays Flip X/Y in track editor instead of class name. Closes #1863. 2021-03-19 18:18:01 +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
305bb21615 [unity] minor: increased Timeline UPM package version number since dependency versions were increased in last commit. 2021-03-10 14:48:50 +01:00
Harald Csaszar
6c34d1f0a0 [unity] Fixed Timeline track displaying None as SkeletonAnimation reference on Unity 2020.1+. Fixed by increasing minimum Timeline dependency version to 1.2.10 (still compatible with the same Unity versions), as this issue shows only until 1.2.9. Closes #1855. 2021-03-10 14:42:04 +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
bd6a4df888 [unity] Updated UPM package version numbers in package.json description files. 2021-03-04 18:42:45 +01:00
Harald Csaszar
4a43174bce Merge branch '3.8' into 4.0-beta 2021-03-04 18:36:22 +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
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
badlogic
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +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
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
ad0cbe21ba Merge branch '3.8' into 4.0-beta 2021-02-16 20:01:25 +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
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
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
e5c47852cc Merge branch '3.8' into 4.0-beta 2021-02-03 22:29:39 +01:00
Harald Csaszar
511c05a3c7 [unity] Fixed SkeletonAnimation Inspector code causing incorrect animation playback. Closes #1841. 2021-02-03 22:28:28 +01:00