This commit is contained in:
2019-08-13 11:36:40 +02:00
parent 35bb18ace9
commit 1a9e37df79
5 changed files with 24 additions and 15 deletions

View File

@@ -6,11 +6,17 @@ layout(location = 1) in vec2 uv;
layout(location = 0) out vec2 tex_coords;
//layout(binding = 0) uniform UniformBufferObject {
// mat4 view;
// mat4 projection;
// float time;
//} ubo;
layout(push_constant) uniform PushConstants {
float time;
mat4 model;
mat4 view;
mat4 projection;
float time;
} push;
void main() {