Finish clock example
This commit is contained in:
parent
f34407bfda
commit
578ea4abb8
11 changed files with 200 additions and 76 deletions
|
|
@ -7,11 +7,9 @@ layout(location = 0) out vec4 o_Color;
|
|||
|
||||
layout (set = 0, binding = 0) uniform Globals {
|
||||
mat4 u_Transform;
|
||||
float u_Scale;
|
||||
};
|
||||
|
||||
void main() {
|
||||
vec2 p_Position = i_Position * u_Scale;
|
||||
gl_Position = u_Transform * vec4(p_Position, 0.0, 1.0);
|
||||
gl_Position = u_Transform * vec4(i_Position, 0.0, 1.0);
|
||||
o_Color = i_Color;
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue