// Copyright 2013 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
// sampler is specifically ordered before color. | |
uniform sampler2D u_texture; | |
uniform vec4 u_color; | |
out vec4 frag_color; | |
void main() { | |
frag_color = u_color + texture(u_texture, vec2(0.5, 0.5)); | |
} |