shader/font_vtx.glsl

changeset 40
6c438be1a1fd
parent 39
7cf310cc47cb
child 41
df81d493716e
     1.1 --- a/shader/font_vtx.glsl	Thu Mar 21 20:34:33 2024 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,12 +0,0 @@
     1.4 -#version 400 core
     1.5 -
     1.6 -layout(location = 0) in vec2 position;
     1.7 -out vec2 texcoord;
     1.8 -
     1.9 -uniform mat4 projection;
    1.10 -uniform mat4 model;
    1.11 -
    1.12 -void main(void) {
    1.13 -    gl_Position = projection*model*vec4(position, 0.0, 1.0);
    1.14 -    texcoord = vec2(model[0].x, model[1].y)*position;
    1.15 -}

mercurial