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

17 lines
264 B
Text
Raw Normal View History

2019-09-24 14:29:13 +02:00
#ifdef GL_ES
precision mediump float;
#endif
uniform vec3 u_planet_colours[$PLANETS * 2];
uniform float u_step_interval;
uniform float u_time;
2020-03-29 07:15:50 +02:00
uniform bool u_vor;
2019-09-24 14:29:13 +02:00
2020-04-18 16:52:17 +02:00
varying vec3 v_color;
2019-09-24 14:29:13 +02:00
varying vec2 v_pos;
void main() {
2020-04-18 16:52:17 +02:00
gl_FragColor = vec4(v_color, 0.8);
2019-09-24 14:29:13 +02:00
}