From 3b734f0d6b9e28c1f2c4ae54e3f46e573e02f4a5 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Fri, 9 Mar 2018 21:36:10 +0100 Subject: Initial Commit --- BuddhaTest/Shaders/BuddhaVertex.glsl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 BuddhaTest/Shaders/BuddhaVertex.glsl (limited to 'BuddhaTest/Shaders/BuddhaVertex.glsl') diff --git a/BuddhaTest/Shaders/BuddhaVertex.glsl b/BuddhaTest/Shaders/BuddhaVertex.glsl new file mode 100644 index 0000000..686eeb4 --- /dev/null +++ b/BuddhaTest/Shaders/BuddhaVertex.glsl @@ -0,0 +1,11 @@ +#version 430 core + +layout(location = 0) in vec3 vertexPosition_modelspace; + +out vec2 uv; + +void main(){ + gl_Position.xyz = vertexPosition_modelspace; + gl_Position.w = 1.0; + uv = gl_Position.xy; +} \ No newline at end of file -- cgit v1.2.3