13 lines
256 B
GLSL
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;
|
||
|
}
|