audio-vis/shaders/wave.frag

13 lines
256 B
GLSL
Raw Normal View History

2020-04-05 15:28:22 +02:00
#version 300 es
// fragment shaders don't have a default precision so we need
// to pick one. mediump is a good default. It means "medium precision"
precision mediump float;
uniform vec4 u_color;
out vec4 outColor;
void main() {
outColor = u_color;
}