tunnel/assets/gui_transparent.fragment

11 lines
202 B
Plaintext
Raw Normal View History

2013-01-23 20:14:11 +00:00
precision highp float;
uniform sampler2D Texture;
varying vec2 texCoord;
void main()
{
vec4 texColor = texture2D(Texture,texCoord).rgba;
gl_FragColor = vec4(texColor.rgb, texColor.a);
}