maplibre-gl
Version:
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
3 lines (2 loc) • 327 B
text/typescript
// This file is generated. Edit build/generate-shaders.ts, then run `npm run codegen`.
export default 'varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}';