Files
wschod/game/res/shaders/default.frag
T

18 lines
219 B
GLSL

#version 100
precision mediump float;
uniform sampler2D texture;
varying vec2 f_uv;
void main ()
{
if(texture2D (texture, f_uv).a < 0.2)
{
discard;
}
gl_FragColor = texture2D (texture, f_uv);
}