diff options
Diffstat (limited to 'light.vs')
-rw-r--r-- | light.vs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/light.vs b/light.vs new file mode 100644 index 0000000..e135d84 --- /dev/null +++ b/light.vs @@ -0,0 +1,11 @@ +#version 330 core +layout (location = 0) in vec3 position; + +uniform mat4 model; +uniform mat4 view; +uniform mat4 projection; + +void main() +{ + gl_Position = projection * view * model * vec4(position.xyz, 1.0); +}
\ No newline at end of file |