This commit is contained in:
2019-08-19 22:26:41 +02:00
parent 85a44bf536
commit fff521307e
3 changed files with 30 additions and 13 deletions

View File

@@ -16,6 +16,10 @@ layout(push_constant) uniform PushConstants {
mat4 model;
} push;
out gl_PerVertex {
vec4 gl_Position;
};
void main() {
gl_Position = ubo.projection * ubo.view * push.model * vec4(position, 1.0);
tex_coords = uv;