playing with another shader for a sun type thing and WAY better camera movement
This commit is contained in:
1 parent
9eb8d55630
commit
b299a8d8a2
5 files changed
+175
-41
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#version 330 core
|
||||
layout (location = 0) in vec3 aPos;
|
||||
layout (location = 1) in vec3 aNormal;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user