ewol/data/textured3D.frag

16 lines
275 B
GLSL
Raw Normal View History

#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;
gl_FragColor = vec4(1.0,1.0,0.2,0.6);
2012-08-29 10:14:08 +02:00
}