This commit is contained in:
2021-10-26 17:28:29 +02:00
parent f0c9ed5e51
commit 28576035eb
6 changed files with 94 additions and 75 deletions

View File

@@ -21,14 +21,6 @@ out gl_PerVertex {
};
void main() {
float scale = 0.01;
mat4 invert = mat4(
scale, 0., 0., 0.,
0., scale, 0., 0.,
0., 0., scale, 0.,
0., 0., 0., 1.
);
// Vertex position in camera
gl_Position = ubo.ortho_projection * vec4(position, 1.0);