diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-16 10:53:33 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-16 10:53:33 -0400 |
commit | 3c51eb91645fb9ab6e6cbe49b354408a6e77d1d1 (patch) | |
tree | 26de024b8e1376e4ae8f6b27cceb8e610024f6fd /shaders | |
parent | 3815da82430df2c1ed44858da3d8425946539b04 (diff) |
Stars and Stripes forevahh!
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/world.frag | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |