summaryrefslogtreecommitdiff
path: root/gfx/shaders/immediate_mode.vert
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/shaders/immediate_mode.vert')
-rw-r--r--gfx/shaders/immediate_mode.vert11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/shaders/immediate_mode.vert b/gfx/shaders/immediate_mode.vert
new file mode 100644
index 0000000..65070bb
--- /dev/null
+++ b/gfx/shaders/immediate_mode.vert
@@ -0,0 +1,11 @@
1precision highp float;
2
3uniform mat4 Model;
4uniform mat4 ViewProjection;
5
6layout (location = 0) in vec3 vPosition;
7
8void main()
9{
10 gl_Position = ViewProjection * Model * vec4(vPosition, 1.0);
11}