diff options
Diffstat (limited to 'Shaders/world.vert')
-rw-r--r-- | Shaders/world.vert | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Shaders/world.vert b/Shaders/world.vert new file mode 100644 index 0000000..795997a --- /dev/null +++ b/Shaders/world.vert @@ -0,0 +1,15 @@ +#version 430 + +//layout(location = 0)in vec3 vertex; +in vec3 vertex; + +uniform mat4 projection; +uniform mat4 view; +uniform mat4 model; + +//out vec3 texCoord; + +void main() +{ + gl_Position = projection * view * model * vec4(vertex, 1.0f); +} |