diff options
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 |