summaryrefslogtreecommitdiff
path: root/src/extras/shaders/es2/distancefieldtext.vert
blob: f7fc5327b862a6a104ce64989f66a1018dce85e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;

varying vec3 position;
varying vec2 texCoord;

uniform mat4 modelView;
uniform mat4 mvp;

void main()
{
    texCoord = vertexTexCoord;
    position = vec3(modelView * vec4(vertexPosition, 1.0));

    gl_Position = mvp * vec4(vertexPosition, 1.0);
}