This commit is contained in:
2018-12-12 09:02:33 -06:00
parent 5843a9b0ae
commit c142bd2392
6 changed files with 46 additions and 27 deletions

View File

@@ -1,9 +1,9 @@
# version 150
# extension GL_ARB_explicit_attrib_location : enable
# version 330
in vec3 vert;
uniform vec3 SunLight;
layout(location = 0) in vec3 vert;
uniform vec3 position;
void main() {
gl_Position = vec4(vert, 1.0);
// projection * view * model *
gl_Position = vec4(vert+position, 1.0);
}