summaryrefslogtreecommitdiffstats
path: root/cwd/shaders/simple.vs
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-14 16:22:52 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-06-14 16:22:52 +0200
commitac8905602d1f221a71ddcdc86796344101276321 (patch)
tree21deaeb615d6789e7ddf14844cbf8faf0081af7e /cwd/shaders/simple.vs
parent2017-06-07 (diff)
downloadAltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar.gz
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar.bz2
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar.lz
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar.xz
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.tar.zst
AltCraft-ac8905602d1f221a71ddcdc86796344101276321.zip
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