aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/distancefieldtext.vert
blob: c4963977a5a827914b8fccbc5f95c3f6f43c4673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
uniform highp mat4 matrix;
uniform highp vec2 textureScale;

attribute highp vec4 vCoord;
attribute highp vec2 tCoord;

varying highp vec2 sampleCoord;

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