diff options
Diffstat (limited to 'engine/vertex.glsl')
-rw-r--r-- | engine/vertex.glsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/vertex.glsl b/engine/vertex.glsl new file mode 100644 index 0000000..c74ea10 --- /dev/null +++ b/engine/vertex.glsl @@ -0,0 +1,7 @@ +#version 330 core +layout (location = 0) in vec3 aPos; + +void main() +{ + gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); +} |