basic rendering for both opengl and vulkan
This commit is contained in:
parent
4b18afa040
commit
dadd2edaf1
29 changed files with 1140 additions and 38 deletions
10
assets/shaders/quad.frag
Normal file
10
assets/shaders/quad.frag
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 frag_color;
|
||||
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
void main()
|
||||
{
|
||||
out_color = vec4(frag_color, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue