diff options
Diffstat (limited to 'shaders/lightsource.vsh')
-rw-r--r-- | shaders/lightsource.vsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shaders/lightsource.vsh b/shaders/lightsource.vsh new file mode 100644 index 0000000..3525c32 --- /dev/null +++ b/shaders/lightsource.vsh @@ -0,0 +1,10 @@ +# version 330 core + +layout (location = 0) in vec3 aPos; +uniform mat4 model, view, proj; + + +void main() +{ + gl_Position = proj * view * model * vec4(aPos, 1.0f); +} |