Project as is
This commit is contained in:
commit
80c9e2d168
55 changed files with 1573 additions and 0 deletions
9
res/shaders/default/default.fs
Executable file
9
res/shaders/default/default.fs
Executable file
|
@ -0,0 +1,9 @@
|
|||
#version 450
|
||||
|
||||
uniform sampler2D sampler;
|
||||
|
||||
in vec2 textureCoords;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = texture2D(sampler, textureCoords);
|
||||
}
|
13
res/shaders/default/default.vs
Executable file
13
res/shaders/default/default.vs
Executable file
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
uniform mat4 projection;
|
||||
|
||||
in vec3 vertices;
|
||||
in vec2 texCoords;
|
||||
|
||||
out vec2 textureCoords;
|
||||
|
||||
void main() {
|
||||
textureCoords = texCoords;
|
||||
gl_Position = projection * vec4(vertices, 1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue