diff --git a/src/shaders/shader.vert b/src/shaders/shader.vert index be77714..5ffbb2d 100644 --- a/src/shaders/shader.vert +++ b/src/shaders/shader.vert @@ -12,6 +12,6 @@ layout(location = 1) in vec3 inColor; layout(location = 0) out vec3 fragColor; void main() { - gl_Position = vec4(inPosition, 0.0, 1.0); + gl_Position = ubo.proj * ubo.view * ubo.model * vec4(inPosition, 0.0, 1.0); fragColor = inColor; } diff --git a/src/shaders/vert.spv b/src/shaders/vert.spv index 173ee74..2b7afb0 100644 Binary files a/src/shaders/vert.spv and b/src/shaders/vert.spv differ