Skip to content

Commit

Permalink
[unity] Remove alpha multiplication because we expect alpha to be pre…
Browse files Browse the repository at this point in the history
…multiplied already
  • Loading branch information
jeremyfa committed Nov 15, 2020
1 parent fa631e4 commit b6510d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion plugins/unity/assets/pixelArt.shader
Expand Up @@ -66,7 +66,6 @@ Shader "pixelArt"
fixed4 frag(v2f IN) : SV_Target
{
fixed4 c = SampleSpriteTexture (IN.texcoord) * IN.color;
c.rgb *= c.a;
return c;
}
ENDCG
Expand Down
1 change: 0 additions & 1 deletion plugins/unity/assets/textured.shader
Expand Up @@ -66,7 +66,6 @@ Shader "textured"
fixed4 frag(v2f IN) : SV_Target
{
fixed4 c = SampleSpriteTexture (IN.texcoord) * IN.color;
c.rgb *= c.a;
return c;
}
ENDCG
Expand Down

0 comments on commit b6510d7

Please sign in to comment.