22 Commits

Author SHA1 Message Date
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
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
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
769f048f55 [unity] Added a null-check for _diffuseRamp parameter at Sprite shaders GUI. Cleaned up URP 2D example assets: textures and materials now all using straight alpha textures, names shortened. 2020-12-22 17:17:33 +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
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
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
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
11006baa65 [unity] Fixed URP Sprite shader treating skeleton alpha incorrectly. Closes #1735. 2020-08-07 15:40:35 +02:00
Harald Csaszar
3c94f52b52 [unity] Added support for double-sided lighting at SkeletonLit shaders (including URP and LWRP packages). Closes #1730. 2020-07-30 12:13:52 +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
20d0525c22 [unity] Added Outline Shaders URP example scene demonstrating the workflow using the new RenderExistingMesh component and the new outline URP shader. 2020-03-27 18:53:53 +01:00
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
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
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