summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/vert/fbo.vs
diff options
context:
space:
mode:
Diffstat (limited to 'cwd/assets/altcraft/shaders/vert/fbo.vs')
-rw-r--r--cwd/assets/altcraft/shaders/vert/fbo.vs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/fbo.vs b/cwd/assets/altcraft/shaders/vert/fbo.vs
new file mode 100644
index 0000000..e1e8966
--- /dev/null
+++ b/cwd/assets/altcraft/shaders/vert/fbo.vs
@@ -0,0 +1,11 @@
+#version 330 core
+layout (location = 0) in vec2 Pos;
+layout (location = 1) in vec2 TextureCoords;
+
+out vec2 TexCoords;
+
+void main()
+{
+ gl_Position = vec4(Pos.x, Pos.y, 0.0, 1.0);
+ TexCoords = TextureCoords;
+} \ No newline at end of file