Removed submodule maplibre-gl-js (#938)

This commit is contained in:
Alex Cristici
2023-03-25 15:46:49 +02:00
committed by GitHub
parent 6c4918374a
commit eadb3697e9
3416 changed files with 136345 additions and 115 deletions

12
shaders/debug.vertex.glsl Normal file
View File

@@ -0,0 +1,12 @@
attribute vec2 a_pos;
varying vec2 v_uv;
uniform mat4 u_matrix;
uniform float u_overlay_scale;
void main() {
// This vertex shader expects a EXTENT x EXTENT quad,
// The UV co-ordinates for the overlay texture can be calculated using that knowledge
v_uv = a_pos / 8192.0;
gl_Position = u_matrix * vec4(a_pos * u_overlay_scale, 0, 1);
}