Skip to content

Commit

Permalink
[monogame] Fixed tint black, see #1003.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Oct 13, 2017
1 parent 791d813 commit 77014b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-monogame/example/Content/SpineEffect.fx
Expand Up @@ -51,7 +51,7 @@ float4 PixelShaderFunction(VertexShaderOutput input) : COLOR0
float alpha = texColor.a * input.Color.a;
float4 output;
output.a = alpha;
output.rgb = (1.0 - texColor.rgb) * input.Color2.rgb * alpha + texColor.rgb * input.Color.rgb;
output.rgb = ((texColor.a - 1.0) * input.Color2.a + 1.0 - texColor.rgb) * input.Color2.rgb + texColor.rgb * input.Color.rgb;

return output;
}
Expand Down

0 comments on commit 77014b9

Please sign in to comment.