UI update 02
This commit is contained in:
@@ -158,7 +158,7 @@ Shader "UI/Soft Shadow"
|
||||
fixed4 src = SampleSprite(contentUv, IN.color);
|
||||
|
||||
float shadowAlpha = SampleShadowAlpha(contentUv, IN.color.a) * _ShadowColor.a;
|
||||
fixed3 shadowRgb = _ShadowColor.rgb * shadowAlpha;
|
||||
; fixed3 shadowRgb = _ShadowColor.rgb * shadowAlpha;
|
||||
|
||||
fixed4 col;
|
||||
col.a = src.a + shadowAlpha * (1.0 - src.a);
|
||||
|
||||
Reference in New Issue
Block a user