blob: 4400f4b88946139a8c415fde3e80bfdeff437bfa [file] [log] [blame]
precision mediump float;
varying vec2 v_tex_coord_rgba;
uniform sampler2D texture_rgba;
uniform mat4 to_rgb_color_matrix;
void main() {
vec4 untransformed_color = vec4(texture2D(texture_rgba, v_tex_coord_rgba).rgba);
gl_FragColor = untransformed_color * to_rgb_color_matrix;
}