
#version 120
uniform sampler2D tex0;
void main (void)
{
  vec2 uv = gl_PointCoord.xy;
  vec3 t = texture2D(tex0,uv).rgb * gl_Color.xyz;
  gl_FragColor = vec4(t, 1.0);
  //gl_FragColor = vec4(gl_Color.xyz, 1.0);
}
