nuclear@22: precision mediump float; nuclear@22: nuclear@22: uniform sampler2D tex; nuclear@22: uniform vec4 color; nuclear@22: nuclear@22: varying vec4 tex_coords; nuclear@22: nuclear@22: void main() nuclear@22: { nuclear@22: vec4 texel = texture2D(tex, tex_coords.xy); nuclear@22: gl_FragColor = vec4(color.xyz, texel.a); nuclear@22: }