diff --git a/assets/Scene/Circle_avatar/circle_avatar.effect b/assets/Scene/Circle_avatar/circle_avatar.effect index ee44002..6e32cd3 100644 --- a/assets/Scene/Circle_avatar/circle_avatar.effect +++ b/assets/Scene/Circle_avatar/circle_avatar.effect @@ -101,7 +101,7 @@ CCProgram fs %{ float ry = center.y; float dis = (v_uv0.x * wh_ratio - rx) * (v_uv0.x * wh_ratio - rx) + (v_uv0.y - ry) * (v_uv0.y - ry); - o.a = smoothstep(circle, circle - blur, dis); + o.a = smoothstep(circle, circle - blur, dis) * o.a; gl_FragColor = o; }