summaryrefslogtreecommitdiffstats
path: root/cwd/shaders/simple.vs
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/shaders/simple.vs')
-rw-r--r--cwd/shaders/simple.vs9
1 files changed, 9 insertions, 0 deletions
diff --git a/cwd/shaders/simple.vs b/cwd/shaders/simple.vs
new file mode 100644
index 0000000..8c9f37f
--- /dev/null
+++ b/cwd/shaders/simple.vs
@@ -0,0 +1,9 @@
+#version 330 core
+
+uniform mat4 view;
+uniform mat4 projection;
+layout (location = 0) in vec3 position;
+
+void main(){
+ gl_Position = vec4(position,1);//projection*view*vec4(position,1);
+} \ No newline at end of file