nuclear@0: uniform sampler2D tex; nuclear@0: uniform vec4 st_color; nuclear@0: nuclear@0: varying vec2 texcoord; nuclear@0: nuclear@0: void main() nuclear@0: { nuclear@0: gl_FragColor.rgb = st_color.rgb; nuclear@0: gl_FragColor.a = texture2D(tex, texcoord).a * st_color.a; nuclear@0: }