11 lines
187 B
PostScript
11 lines
187 B
PostScript
|
#version 120
|
||
|
|
||
|
varying vec2 v_texcoord;
|
||
|
varying vec4 v_color;
|
||
|
|
||
|
uniform sampler2D u_texture;
|
||
|
|
||
|
void main() {
|
||
|
vec4 tex = texture2D( u_texture, v_texcoord );
|
||
|
gl_FragColor = v_color * tex;
|
||
|
}
|