// This file is generated. Edit build/generate-shaders.ts, then run `npm run codegen`.
export default 'varying vec4 v_color;\n#ifdef GLOBE\nvarying vec3 v_sphere_pos;uniform vec3 u_camera_pos_globe;uniform highp float u_projection_transition;\n#endif\nvoid main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n#ifdef GLOBE\nvec3 toPlanetCenter=-v_sphere_pos;vec3 toCameraNormalized=normalize(u_camera_pos_globe-v_sphere_pos);float t=dot(toPlanetCenter,toCameraNormalized);vec3 nearest=v_sphere_pos+toCameraNormalized*max(t,0.0);float distance_to_planet_center_squared=dot(nearest,nearest);if (distance_to_planet_center_squared < u_projection_transition) {discard;}\n#endif\n}';
