aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/new.vert
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-05-06 08:04:37 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-05-06 08:04:37 -0400
commitbc92962aff14805d5920f5a82628648d1c1fe4fd (patch)
tree6575a93032745a6493eef677c35996ed1119f6bb /shaders/new.vert
parentaaf7a6bd286b0d200356ef54148791e2e91ff253 (diff)
Shadaersrsersdfsdf
Diffstat (limited to 'shaders/new.vert')
-rw-r--r--shaders/new.vert11
1 files changed, 11 insertions, 0 deletions
diff --git a/shaders/new.vert b/shaders/new.vert
new file mode 100644
index 0000000..1bedfd3
--- /dev/null
+++ b/shaders/new.vert
@@ -0,0 +1,11 @@
+attribute vec3 coord2d;
+attribute vec2 tex_coord;
+
+uniform mat4 ortho;
+
+varying vec2 texCoord;
+
+void main(){
+ texCoord = tex_coord;
+ gl_Position = ortho * vec4(coord2d.xyz, 1.0);
+}