lindsayt Harald Is it expected that the BlendMode Shaders are the same for both materials? The only difference is that the Straight Alpha Texture is ticked
Yes, that's the only difference.
lindsayt I tried but I am also unable to use the 4.1 shader because they want the CGIncludes, which want a script, which want another script and so on.
Sorry, I forgot that these were based on includes already. Then you need to import the required include files as well. It's these three:
Spine/Runtime/spine-unity/Shaders/CGIncludes/Spine-BlendModes-NormalPass.cginc
Spine/Runtime/spine-unity/Shaders/CGIncludes/Spine-BlendModes-ShadowCasterPass.cginc
Spine/Runtime/spine-unity/Shaders/CGIncludes/Spine-Common.cginc
I will shortly compile a unitypackage (in a zip package so that the forum accepts the upload) which contains only the additional files to be imported to an existing spine-unity 3.8 project.
The documentation says this is obsolete but I don't know if this applies to Spine 3.8 as the "Upgrade" button that's mentioned is not present.
Upon testing the shaders I noticed that the latest spine-unity 3.8 runtime already provides the native support for slot blend modes and an Upgrade
button at the SkeletonDataAsset, rendering the BlendModeMaterialAssets
indeed obsolete. So if you don't see this Upgrade
button, you are not using the latest spine-unity 3.8 package.