Entire project
This commit is contained in:
commit
e1c6c794d4
108 changed files with 2908 additions and 0 deletions
9
res/shaders/s2c/frag.fs
Normal file
9
res/shaders/s2c/frag.fs
Normal file
|
@ -0,0 +1,9 @@
|
|||
#version 330 core
|
||||
|
||||
uniform vec4 iColor;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main() {
|
||||
color = iColor;
|
||||
}
|
11
res/shaders/s2c/vert.vs
Normal file
11
res/shaders/s2c/vert.vs
Normal file
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
|
||||
uniform mat4 projection;
|
||||
uniform mat4 view;
|
||||
uniform mat4 model;
|
||||
|
||||
layout (location = 0) in vec3 vertices;
|
||||
|
||||
void main() {
|
||||
gl_Position = projection * view * model * vec4(vertices, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue