blob: 81ee6cd820518b7dceefe0b175030f4290901ac0 [file] [log] [blame]
// 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.
layout(location = 0) uniform float iTime;
layout(location = 1) uniform vec2 iResolution;
layout(location = 0) out vec4 fragColor;
void main() {
vec2 uv = gl_FragCoord.xy / iResolution;
float t = 4 * iTime;
vec3 col = 0.5 + 0.5 * cos(t + uv.xyx + vec3(0, 1, 4));
fragColor = vec4(col, 1.0);
}