summaryrefslogtreecommitdiff
path: root/keyshade/bin/data/shader.vert
blob: 0e63995924537c07d06e68c89e1aa25d1a0bcfdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 150

// these come from the programmable pipeline
uniform mat4 modelViewProjectionMatrix;

in vec4 position;
in vec2 texcoord;

// texture coordinates are sent to fragment shader
out vec2 texCoordVarying;

void main()
{
    texCoordVarying = texcoord;
    gl_Position = modelViewProjectionMatrix * position;
}