Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/shaders/hillshade.vertex.glsl from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/hillshade.vertex.glsl
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/shaders/hillshade.vertex.glsl
-
curl -L -o hillshade.vertex.glsl https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/shaders/hillshade.vertex.glsl
198 Bytes
| uniform mat4 u_matrix; | |
| attribute vec2 a_pos; | |
| attribute vec2 a_texture_pos; | |
| varying vec2 v_pos; | |
| void main() { | |
| gl_Position = u_matrix * vec4(a_pos, 0, 1); | |
| v_pos = a_texture_pos / 8192.0; | |
| } | |