From de5a458cb037bb8e1e80c849c5e6525f9413b43a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 14 Feb 2015 12:09:41 -0500 Subject: Monitor stuff is looking pretty cool! --- shaders/final.vertex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shaders/final.vertex (limited to 'shaders/final.vertex') diff --git a/shaders/final.vertex b/shaders/final.vertex new file mode 100644 index 0000000..825eb49 --- /dev/null +++ b/shaders/final.vertex @@ -0,0 +1,14 @@ +#version 330 core + +layout(location = 0) in vec3 vertexPosition_modelspace; +layout(location = 1) in vec3 vertexNormal; + +out vec2 UV; +out vec3 norm; + +void main() +{ + gl_Position = vec4(vertexPosition_modelspace,1); + UV = (vertexPosition_modelspace.xy+vec2(1,1))/2.0; + norm = vertexNormal; +} -- cgit 1.4.1