[unity] Fixed Skeleton Tint Black shaders where Black color ignored transparent vertex alpha. Closes #2457.

This commit is contained in:
Harald Csaszar 2024-01-31 21:57:05 +01:00
parent 06a15e865a
commit 6812160239
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ float4 fragTintedColor(float4 texColor, float3 darkTintColor, float4 lightTintCo
float a = texColor.a * lightTintColorPMA.a;
#if !defined(_STRAIGHT_ALPHA_INPUT)
float3 texDarkColor = (texColor.a - texColor.rgb);
float3 texDarkColor = max(0.0, a - texColor.rgb);
#else
float3 texDarkColor = (1 - texColor.rgb);
#endif

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-unity",
"displayName": "spine-unity Runtime",
"description": "This plugin provides the spine-unity runtime core.",
"version": "4.2.47",
"version": "4.2.48",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.urp-shaders",
"displayName": "Spine Universal RP Shaders",
"description": "This plugin provides universal render pipeline (URP) shaders for the spine-unity runtime.\n\nPrerequisites:\nIt requires a working installation of the spine-unity runtime, version 4.2.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
"version": "4.2.28",
"version": "4.2.29",
"unity": "2019.3",
"author": {
"name": "Esoteric Software",