kaliber/assets/engine/pass_through.glsl_fragment

11 lines
175 B
Plaintext

precision mediump float;
uniform vec4 color;
uniform sampler2D texture;
varying vec2 tex_coord_0;
void main() {
gl_FragColor = texture2D(texture, tex_coord_0) * color;
}