|
@@ -60,7 +60,7 @@ Shader "Spine/Blend Modes/Skeleton PMA Additive" {
|
|
|
return o;
|
|
|
}
|
|
|
|
|
|
- float4 frag (VertexOutput i) : COLOR {
|
|
|
+ float4 frag (VertexOutput i) : SV_Target {
|
|
|
float4 texColor = tex2D(_MainTex, i.uv);
|
|
|
|
|
|
#if defined(_STRAIGHT_ALPHA_INPUT)
|
|
@@ -105,7 +105,7 @@ Shader "Spine/Blend Modes/Skeleton PMA Additive" {
|
|
|
uniform sampler2D _MainTex;
|
|
|
uniform fixed _Cutoff;
|
|
|
|
|
|
- float4 frag (v2f i) : COLOR {
|
|
|
+ float4 frag (v2f i) : SV_Target {
|
|
|
fixed4 texcol = tex2D(_MainTex, i.uvAndAlpha.xy);
|
|
|
clip(texcol.a * i.uvAndAlpha.a - _Cutoff);
|
|
|
SHADOW_CASTER_FRAGMENT(i)
|