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