diff options
| author | Tim Redfern <tim@getdrop.com> | 2017-10-16 16:24:04 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2017-10-16 16:24:04 +0100 |
| commit | a3c99df80c201e56a32eb5fe650d45e9a9ccaee2 (patch) | |
| tree | 5e070309793bf11d04e05919a3fb07b1e1157f62 /keyshade/bin/data/shader.vert | |
| parent | 5116dea8815de81ddaef299fdcae15f56ae3a87b (diff) | |
shader compiles
Diffstat (limited to 'keyshade/bin/data/shader.vert')
| -rw-r--r-- | keyshade/bin/data/shader.vert | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/keyshade/bin/data/shader.vert b/keyshade/bin/data/shader.vert new file mode 100644 index 0000000..0e63995 --- /dev/null +++ b/keyshade/bin/data/shader.vert @@ -0,0 +1,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; +}
\ No newline at end of file |
