kaliber/assets/engine/pass_through.glsl_fragment

13 lines
199 B
Plaintext

#ifdef GL_ES
precision mediump float;
#endif
uniform vec4 color;
uniform sampler2D texture_0;
varying vec2 tex_coord_0;
void main() {
gl_FragColor = texture2D(texture_0, tex_coord_0) * color;
}