Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Fixed tintcolor on uiblur shader not working properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth committed Aug 9, 2019
1 parent 62d855f commit a1ba44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/UnityTK/Code/Utility/UIBlur.shader
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
c.a = tex2D(_AlphaTex, uv).r;
#endif //UNITY_TEXTURE_ALPHASPLIT_ALLOWED

c *= IN.color;
c.rgb *= c.a;
c.rgb = lerp(c.rgb, IN.color.rgb, IN.color.a);
c.a = 1;
return c;
}
ENDCG
Expand Down

0 comments on commit a1ba44e

Please sign in to comment.