10 lines
211 B
Plaintext
10 lines
211 B
Plaintext
|
|
uniform sampler2D tex0;
|
|
|
|
varying vec4 v_color; // the input variable from the vertex shader (same name and same type)
|
|
varying vec2 v_texCoord;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = texture2D(tex0, v_texCoord);
|
|
} |