uniform sampler2D Texture; varying vec2 texCoord; void main() { vec4 texColor = texture2D(Texture,texCoord).rgba; gl_FragColor = vec4(texColor.rgb,gl_FrontMaterial.diffuse.a * texColor.a); }