diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-01 19:02:49 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-01 19:02:49 -0400 |
commit | eb028c960be2eeaee6e5177bc9c83a489e9209f2 (patch) | |
tree | 327579b9e7c5d3722fb67d15f3008022039f3df7 /Shaders/world.vert | |
parent | 5fddf26cb8bf474b6649bd727bb6493f0c2c48ba (diff) |
THE CAT IS BACK
Diffstat (limited to 'Shaders/world.vert')
-rw-r--r-- | Shaders/world.vert | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Shaders/world.vert b/Shaders/world.vert index 795997a..743ff3d 100644 --- a/Shaders/world.vert +++ b/Shaders/world.vert @@ -2,14 +2,16 @@ //layout(location = 0)in vec3 vertex; in vec3 vertex; +in vec2 texc; uniform mat4 projection; uniform mat4 view; uniform mat4 model; -//out vec3 texCoord; +out vec2 texCoord; void main() { + texCoord = texc; gl_Position = projection * view * model * vec4(vertex, 1.0f); } |