engine/Templates/HalibutUniversalTemplate/assets/shader_fragment.txt
2013-01-19 20:02:34 +00:00

14 lines
245 B
Plaintext

precision mediump float;
uniform sampler2D Texture;
uniform float Transparency;
varying vec2 texCoord;
void main()
{
vec4 color = texture2D(Texture,texCoord).rgba;
gl_FragColor = vec4(color.rgb, color.a * Transparency);
}