Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/shaders/debug.fragment.glsl from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/debug.fragment.glsl
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/shaders/debug.fragment.glsl
-
curl -L -o debug.fragment.glsl https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/debug.fragment.glsl
212 Bytes
| uniform highp vec4 u_color; | |
| uniform sampler2D u_overlay; | |
| varying vec2 v_uv; | |
| void main() { | |
| vec4 overlay_color = texture2D(u_overlay, v_uv); | |
| gl_FragColor = mix(u_color, overlay_color, overlay_color.a); | |
| } | |