mirror of https://github.com/auygun/kaliber.git
13 lines
195 B
Plaintext
13 lines
195 B
Plaintext
|
#ifdef GL_ES
|
||
|
precision mediump float;
|
||
|
#endif
|
||
|
|
||
|
uniform vec4 color;
|
||
|
uniform sampler2D texture;
|
||
|
|
||
|
varying vec2 tex_coord_0;
|
||
|
|
||
|
void main() {
|
||
|
gl_FragColor = texture2D(texture, tex_coord_0) * color;
|
||
|
}
|