2012-08-30 13:38:39 +02:00
|
|
|
#ifdef GL_ES
|
|
|
|
precision mediump float;
|
|
|
|
precision mediump int;
|
|
|
|
#endif
|
|
|
|
|
2012-08-29 10:14:08 +02:00
|
|
|
// 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;
|
2013-01-16 23:42:34 +01:00
|
|
|
//gl_FragColor = vec4(1.0,1.0,0.2,0.6);
|
2012-08-29 10:14:08 +02:00
|
|
|
}
|