This commit is contained in:
2021-01-02 01:10:39 -08:00
parent 82b68101b2
commit 7fc761ef9c
15 changed files with 468 additions and 124 deletions

16
resources/bake.vert Normal file
View File

@@ -0,0 +1,16 @@
#version 450
layout(location = 0) in ivec4 a_Pos;
layout(set = 0, binding = 0) uniform Globals {
mat4 u_ViewProj;
};
layout(set = 1, binding = 0) uniform Entity {
mat4 u_World;
vec4 u_Color;
};
void main() {
gl_Position = u_ViewProj * u_World * vec4(a_Pos);
}