diff options
Diffstat (limited to 'shaders/world.frag')
-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; } |