fixed maybe?

This commit is contained in:
2021-10-29 17:07:29 +02:00
parent 28576035eb
commit 6ecd5b6082
8 changed files with 66 additions and 20 deletions

View File

@@ -35,6 +35,7 @@ out gl_PerVertex {
void main() {
// Vertex position in camera
gl_Position = ubo.projection * ubo.view * push.model * vec4(position, 1.0);
// gl_Position.y = -gl_Position.y;
// Vertex position in world
position_wld = vec3(push.model * vec4(position, 1.0));