base code
This commit is contained in:
parent
fc39b27715
commit
4f45899a3c
197 changed files with 151568 additions and 2 deletions
13
assets/shaders/shader.vert
Normal file
13
assets/shaders/shader.vert
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 vertPos;
|
||||
|
||||
layout(binding = 0) uniform UniformObject {
|
||||
mat4 proj;
|
||||
mat4 view;
|
||||
mat4 model;
|
||||
} ubo;
|
||||
|
||||
void main() {
|
||||
gl_Position = ubo.view * ubo.proj * vec4(vertPos, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue