diff options
Diffstat (limited to 'BuddhaTest/Shaders/BuddhaVertex.glsl')
-rw-r--r-- | BuddhaTest/Shaders/BuddhaVertex.glsl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/BuddhaTest/Shaders/BuddhaVertex.glsl b/BuddhaTest/Shaders/BuddhaVertex.glsl index 686eeb4..58ae10d 100644 --- a/BuddhaTest/Shaders/BuddhaVertex.glsl +++ b/BuddhaTest/Shaders/BuddhaVertex.glsl @@ -1,11 +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;
+#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 |