From 3c51eb91645fb9ab6e6cbe49b354408a6e77d1d1 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Mon, 16 May 2016 10:53:33 -0400 Subject: Stars and Stripes forevahh! --- shaders/world.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shaders') diff --git a/shaders/world.frag b/shaders/world.frag index 80af175..c103433 100644 --- a/shaders/world.frag +++ b/shaders/world.frag @@ -5,7 +5,7 @@ varying vec4 color; void main(){ vec4 pixTex = texture2D(sampler, vec2(texCoord.x, 1-texCoord.y)); - if(pixTex.a <= .1) + if(pixTex.a == 0.0) discard; gl_FragColor = pixTex * color; } -- cgit v1.2.3