aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/distancefieldtext_core.vert
blob: 7fc693d139d5ad322fd7f9d34a7c5da503784991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 150 core

in vec4 vCoord;
in vec2 tCoord;

out vec2 sampleCoord;

uniform mat4 matrix;
uniform vec2 textureScale;

void main()
{
     sampleCoord = tCoord * textureScale;
     gl_Position = matrix * vCoord;
}