summaryrefslogtreecommitdiff
path: root/keyshade/bin/data/shader.vert
diff options
context:
space:
mode:
Diffstat (limited to 'keyshade/bin/data/shader.vert')
-rw-r--r--keyshade/bin/data/shader.vert16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyshade/bin/data/shader.vert b/keyshade/bin/data/shader.vert
new file mode 100644
index 0000000..0e63995
--- /dev/null
+++ b/keyshade/bin/data/shader.vert
@@ -0,0 +1,16 @@
+#version 150
+
+// these come from the programmable pipeline
+uniform mat4 modelViewProjectionMatrix;
+
+in vec4 position;
+in vec2 texcoord;
+
+// texture coordinates are sent to fragment shader
+out vec2 texCoordVarying;
+
+void main()
+{
+ texCoordVarying = texcoord;
+ gl_Position = modelViewProjectionMatrix * position;
+} \ No newline at end of file