mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch 'EsotericSoftware/3.6' into 3.6
This commit is contained in:
commit
8ef11955a7
@ -91,7 +91,7 @@ Shader "Spine/SkeletonGraphic (Premultiply Alpha)"
|
|||||||
OUT.vertex.xy += (_ScreenParams.zw-1.0) * float2(-1,1);
|
OUT.vertex.xy += (_ScreenParams.zw-1.0) * float2(-1,1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
OUT.color = IN.color * _Color;
|
OUT.color = IN.color * float4(_Color.rgb * _Color.a, _Color.a); // Combine a PMA version of _Color with vertexColor.
|
||||||
return OUT;
|
return OUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,4 +112,4 @@ Shader "Spine/SkeletonGraphic (Premultiply Alpha)"
|
|||||||
ENDCG
|
ENDCG
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user