diff options
Diffstat (limited to 'src/shaders/ui.vert')
-rw-r--r-- | src/shaders/ui.vert | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shaders/ui.vert b/src/shaders/ui.vert new file mode 100644 index 0000000..ad5d46a --- /dev/null +++ b/src/shaders/ui.vert @@ -0,0 +1,10 @@ +#version 330 core +layout(location = 0) in vec3 apos; + +uniform mat4 proj; +uniform mat4 model; + +void main(void) +{ + gl_Position = proj*model*vec4(apos, 1.0); +} |