#version 120 varying vec4 v_color; varying vec2 v_texcoord; uniform sampler2D nv_t_diffuse; void main(void) { vec4 texture = texture2D(nv_t_diffuse,v_texcoord); gl_FragColor = v_color * texture; }