planet-wars/frontend/www/static/shaders/frag/vor.glsl
2020-04-20 15:13:44 +02:00

17 lines
305 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
uniform vec3 u_planet_colours[$PLANETS * 2];
uniform float u_step_interval;
uniform float u_time;
uniform bool u_vor;
varying float v_intensity;
varying vec3 v_color;
varying vec2 v_pos;
void main() {
gl_FragColor = vec4(v_color, v_intensity * 0.7);
}