15 lines
236 B
GLSL
15 lines
236 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
precision mediump int;
|
|
#endif
|
|
|
|
// Input :
|
|
uniform sampler2D EW_texID;
|
|
|
|
varying vec2 f_texcoord;
|
|
varying vec4 f_color;
|
|
|
|
void main(void) {
|
|
gl_FragColor = texture2D(EW_texID, f_texcoord) * f_color;
|
|
}
|