GP: Improve qualitty in Wave when alpha is extreme

This commit is contained in:
Antonio Vazquez 2018-10-13 18:28:33 +02:00
parent 78673e5780
commit b11515332b
1 changed files with 3 additions and 0 deletions

View File

@ -37,4 +37,7 @@ void main()
FragColor = outcolor;
gl_FragDepth = stroke_depth;
if (outcolor.a < 0.02f)
discard;
}