16 Commits

Author SHA1 Message Date
Harald Csaszar
5a32e002b8 [unity] Fixed URP lit shaders ignoring straight alpha settings during fallback to unlit. Affected SkeletonRenderTexture. Closes #2044. 2022-03-15 19:17:51 +01:00
Harald Csaszar
8a30203ab9 [unity] Fixed incorrect normal orientation for lighting in URP 2D shaders. Closes #2023. Fixed compile error of URP/2D/Spine/Sprite shader on Unity 2021.2. Closes #2022. 2022-01-18 19:03:12 +01:00
Harald Csaszar
dfa52de90d [unity] Fixed URP shader compile error at Unity 2021.2 (with URP 12.0 and newer). Closes #1912. Added commented-out include references to spine-core include files using package name, to be used when spine-unity is used via UPM package. 2021-10-29 16:16:12 +02:00
Harald Csaszar
5052b727de [unity] Removed unnecessary URP shader variants that lead to very high compile time. Closes #1974. 2021-10-29 13:20:45 +02:00
Harald Csaszar
43e8000c80 [unity] Fixed URP Sprite shader ignoring Fixed normal in some settings. Closes #1967. Fixed a warning. 2021-10-12 12:48:49 +02:00
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
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
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
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
16b95b971b [unity] Now all URP and LWRP shaders support SRP batching. Closes #1813. 2020-12-02 20:23:31 +01:00
Harald Csaszar
cf7035e112 [unity] Fixed URP 2D Sprite shader not respecting straight alpha blend modes. Closes #1755. 2020-09-03 17:36:55 +02:00
Harald Csaszar
c6fb1795cf [unity] Fixed ZWrite NormalMap issue with Unity 2019.4.3f1 URP 7.4.1. Closes #1720. 2020-07-14 18:09:22 +02:00
Harald Csaszar
3a1dcd651a [unity] Fixed shader compile error with Unity 2019.4 and Urp 7.4.1. Closes #1700. Shader cleanup, removal of unused instancing vars and separate alpha texture variable. 2020-06-17 21:33:37 +02: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
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
Harald Csaszar
d4b29c34c7 [unity] Added support for Universal Render Pipeline (URP), including 2D Renderer (2D Lights) of Unity 2019.3 through an additional UPM package. Closes #1413. 2019-12-20 10:07:20 +01:00