asteroid-game/assets/gui_transparent.fragment

11 lines
202 B
Plaintext
Raw Permalink Normal View History

2013-05-27 20:14:29 +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);
}