Files
MapLibreParticleLab/shaders/drawable.location_indicator_textured.vertex.glsl
2025-02-28 21:49:20 +00:00

15 lines
275 B
GLSL

layout (std140) uniform LocationIndicatorDrawableUBO {
mat4 u_matrix;
vec4 u_color;
};
layout(location = 0) in vec2 a_pos;
layout(location = 1) in vec2 a_uv;
out vec2 frag_uv;
void main() {
frag_uv = a_uv;
gl_Position = u_matrix * vec4(a_pos, 0.0, 1.0);
}