asdf
This commit is contained in:
parent
30de08b1ee
commit
28f0d737b1
18 changed files with 3472 additions and 493 deletions
16
idk/shader.glsl.vert
Normal file
16
idk/shader.glsl.vert
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#version 460
|
||||
|
||||
layout(set=1, binding=0) uniform UBO {
|
||||
mat4 mvp;
|
||||
};
|
||||
|
||||
layout(location=0) in vec3 position;
|
||||
layout(location=1) in vec4 color;
|
||||
|
||||
layout(location=0) out vec4 out_color;
|
||||
|
||||
void main() {
|
||||
gl_Position = mvp * vec4(position, 1);
|
||||
out_color = color;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue