engine/Templates/SalmonUniversalTemplate/assets/gui_transparent.fragment

11 lines
202 B
Plaintext
Raw Normal View History

2013-01-19 20:02:34 +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);
}