update UTI, remove blur from CompDraw mask
This commit is contained in:
@@ -78,7 +78,11 @@ void main()
|
||||
stroke.a = clamp(blend_stroke(stroke.a, dual.a, dual_alpha, dual_blend_mode), 0.0, 1.0);
|
||||
}
|
||||
|
||||
stroke.a = mask ? stroke.a * blur(tex_mask, uv).r : stroke.a;
|
||||
// Don't use blur to sample the mask
|
||||
// it breaks blend_mode value MacBook with Intel HD Graphics 6000
|
||||
if (mask)
|
||||
stroke.a = stroke.a * texture(tex_mask, uv).r;
|
||||
|
||||
if (!lock && base.a == 0.0)
|
||||
{
|
||||
frag = stroke * vec4(1.0, 1.0, 1.0, alpha);
|
||||
|
||||
Reference in New Issue
Block a user