shader/font_vtx.glsl@362b7659dc76
shader/font_vtx.glsl
Wed, 08 Nov 2023 23:17:07 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Wed, 08 Nov 2023 23:17:07 +0100
- changeset 15
- 362b7659dc76
- child 16
-
c5dde81b6fb2
- permissions
- -rw-r--r--
add shader loading and unloading
#version 400 core
in vec2 position;
out vec2 texcoord;
uniform mat4 projection;
uniform mat4 model;
void main(void) {
gl_Position = projection*model*vec4(position, 0.0, 1.0);
texcoord = position;
}