audio-vis/shaders/wave.frag
VersusTune d1ae2059f7 WIP
2020-04-07 21:44:46 +02:00

13 lines
256 B
GLSL

#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;
}