Skip to content

Commit

Permalink
Fix #109; UIEffectCapturedImage: ColorMode is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Jul 26, 2018
1 parent a135c7e commit 9081598
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Shader "UI/Hidden/UI-EffectCapture"

fixed4 frag(v2f_img IN) : SV_Target
{
fixed effectFactor = _EffectFactor.x;
fixed blurFactor = _EffectFactor.z;
fixed colorFactor = _ColorFactor;
half effectFactor = _EffectFactor.x;
half blurFactor = _EffectFactor.z;
fixed4 colorFactor = _ColorFactor;

#if PIXEL
half2 pixelScale = max(2, (1 - effectFactor) * _MainTex_TexelSize.zw);
Expand Down

0 comments on commit 9081598

Please sign in to comment.