diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 17:03:33 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 17:03:33 +0200 |
commit | c0a4cd2aa8dce443a7d54232cada0ee57cdec463 (patch) | |
tree | e559b7e0ef46627957426a685dcd376cc96c8d94 /hello.vert | |
parent | 548fcede95d44a3486e43f24302809792754861a (diff) |
WIP fragment shader demo
Diffstat (limited to 'hello.vert')
-rw-r--r-- | hello.vert | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); +} + |