feat: basic triangle rendering
This commit is contained in:
parent
b10568484e
commit
d30b0a2d2a
11 changed files with 1828 additions and 67 deletions
8
shaders/shader.frag
Normal file
8
shaders/shader.frag
Normal file
|
@ -0,0 +1,8 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 color;
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
void main() {
|
||||
out_color = vec4(color, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue