planet-wars/frontend/www/static/shaders/frag/simple.glsl

10 lines
124 B
Text
Raw Normal View History

2019-09-17 20:19:04 +02:00
#ifdef GL_ES
precision mediump float;
#endif
2019-09-19 17:52:48 +02:00
uniform vec3 u_color;
2019-09-17 20:19:04 +02:00
void main() {
2019-09-19 17:52:48 +02:00
gl_FragColor = vec4(u_color, 1.0);
2019-09-17 20:19:04 +02:00
}