diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-12 08:03:57 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-05-12 08:03:57 -0400 |
commit | 5432b278f8ed8c9aaeccf1ee7a4da540787f965d (patch) | |
tree | 3c05fd2ae5cd481610b1e817b0152e12a71f9229 /shaders/new.vert | |
parent | 7487b029fa110388e90fd092bf3c3b9a4dcee08b (diff) |
RENDERING
Diffstat (limited to 'shaders/new.vert')
-rw-r--r-- | shaders/new.vert | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shaders/new.vert b/shaders/new.vert index 1bedfd3..b2fcba4 100644 --- a/shaders/new.vert +++ b/shaders/new.vert @@ -2,10 +2,13 @@ attribute vec3 coord2d; attribute vec2 tex_coord; uniform mat4 ortho; +uniform vec4 tex_color; varying vec2 texCoord; +varying vec4 color; void main(){ texCoord = tex_coord; + color = tex_color; gl_Position = ortho * vec4(coord2d.xyz, 1.0); } |