aboutsummaryrefslogtreecommitdiff
path: root/assets/.stationary/Shaders
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-03 23:30:01 -0700
committerrtk0c <[email protected]>2022-06-03 23:30:01 -0700
commit791b3f354b378769bffe623b05f1305c91b77101 (patch)
tree5409b311e6232eb4a6d3f8259b780d76b8ee1c59 /assets/.stationary/Shaders
parent60ccc62f4934e44ad5b905fdbcf458302b8d8a09 (diff)
Changeset: 64 [WIP] Rename directoriesmaster-switch-to-build2
Diffstat (limited to 'assets/.stationary/Shaders')
-rw-r--r--assets/.stationary/Shaders/Default.glsl38
1 files changed, 0 insertions, 38 deletions
diff --git a/assets/.stationary/Shaders/Default.glsl b/assets/.stationary/Shaders/Default.glsl
deleted file mode 100644
index 1d93471..0000000
--- a/assets/.stationary/Shaders/Default.glsl
+++ /dev/null
@@ -1,38 +0,0 @@
-#type vertex
-#version 330 core
-
-layout(location = 0) in vec3 pos;
-layout(location = 1) in vec4 color;
-layout(location = 2) in vec2 texcoord;
-
-out Vertex2Fragmnet {
- vec4 color;
- vec2 texcoord;
-} v2f;
-
-// Autofill uniforms
-uniform mat4 transformation;
-
-void main() {
- gl_Position = transformation * vec4(pos, 1.0);
- v2f.color = color;
- v2f.texcoord = texcoord;
-}
-
-#type fragment
-#version 330 core
-
-in Vertex2Fragmnet {
- vec4 color;
- vec2 texcoord;
-} v2f;
-
-out vec4 fragColor;
-
-// Material uniforms
-uniform sampler2D textureAtlas;
-uniform vec4 taint;
-
-void main() {
- fragColor = texture(textureAtlas, v2f.texcoord) * v2f.color * taint;
-}