17 lines
305 B
GLSL
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);
|
|
}
|