
assets.shaders.mesh_layer_2D.glsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vtm Show documentation
Show all versions of vtm Show documentation
OpenGL vector map library written in Java - running on Android, iOS, Desktop and within the browser.
The newest version!
#ifdef GLES
precision highp float;
#endif
uniform mat4 u_mvp;
uniform float u_height;
attribute vec2 a_pos;
void main() {
gl_Position = u_mvp * vec4(a_pos, u_height, 1.0);
}
$$
#ifdef GLES
precision highp float;
#endif
uniform vec4 u_color;
void main() {
gl_FragColor = u_color;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy