Replace discard in figure-frag.

This commit is contained in:
Joshua Yanovski 2020-04-27 21:59:55 +02:00
parent d83b4ae69b
commit 7482798354

View File

@ -115,7 +115,8 @@ void main() {
float opacity = clamp(distance / distance_divider, 0, 1);
if(threshold_matrix[int(gl_FragCoord.x) % 4][int(gl_FragCoord.y) % 4] > opacity) {
discard;
tgt_color = vec4(color, 0.0);
return;
}
}