diff options
Diffstat (limited to 'gfx/shaders/immediate_mode.vert')
-rw-r--r-- | gfx/shaders/immediate_mode.vert | 11 |
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 @@ | |||
1 | precision highp float; | ||
2 | |||
3 | uniform mat4 Model; | ||
4 | uniform mat4 ViewProjection; | ||
5 | |||
6 | layout (location = 0) in vec3 vPosition; | ||
7 | |||
8 | void main() | ||
9 | { | ||
10 | gl_Position = ViewProjection * Model * vec4(vPosition, 1.0); | ||
11 | } | ||