tesseract wireframe and project rename/refactor

This commit is contained in:
2018-12-19 07:36:33 -05:00
parent 7b85d1e4db
commit 83d0ce5ef3
14 changed files with 282 additions and 207 deletions

16
simplex/shaders/main.vert Normal file
View File

@@ -0,0 +1,16 @@
#version 440 core
layout(location=0) in vec4 pos4;
layout(std140, binding=1) uniform Matrices {
mat4 model;
mat4 view;
mat4 proj;
};
out vec4 pos;
void main() {
pos = model * pos4;
gl_Position = proj * view * vec4(pos.xyz, -pos.w + 2);
}