From bc92962aff14805d5920f5a82628648d1c1fe4fd Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Fri, 6 May 2016 08:04:37 -0400 Subject: Shadaersrsersdfsdf --- shaders/new.vert | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shaders/new.vert (limited to 'shaders/new.vert') 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); +} -- cgit v1.2.3