diff options
author | Andreas Grois <andi@grois.info> | 2018-03-09 21:36:10 +0100 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2018-03-09 21:36:10 +0100 |
commit | 3b734f0d6b9e28c1f2c4ae54e3f46e573e02f4a5 (patch) | |
tree | 444542870666e41594e7b493f625ade81d64f885 /BuddhaTest/Shaders/BuddhaVertex.glsl |
Initial Commit
Diffstat (limited to 'BuddhaTest/Shaders/BuddhaVertex.glsl')
-rw-r--r-- | BuddhaTest/Shaders/BuddhaVertex.glsl | 11 |
1 files changed, 11 insertions, 0 deletions
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 |