generated from AfonsoCMSousa/CPP-Template
Feature: Can now render to images in ./frames
;
This commit is contained in:
+2
-8
@@ -1,13 +1,7 @@
|
||||
#version 410 core
|
||||
|
||||
layout(location = 0) in vec3 aPos; // Vertex position
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
layout(location = 0) in vec3 aPos;
|
||||
|
||||
void main() {
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
gl_Position = vec4(aPos, 1.0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user