summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_shaders
diff options
context:
space:
mode:
Diffstat (limited to 'txtgameengine/builtin_shaders')
-rw-r--r--txtgameengine/builtin_shaders/basic/fragment.glsl6
-rw-r--r--txtgameengine/builtin_shaders/basic/vertex.glsl7
-rw-r--r--txtgameengine/builtin_shaders/texture/fragment.glsl12
-rw-r--r--txtgameengine/builtin_shaders/texture/vertex.glsl12
4 files changed, 0 insertions, 37 deletions
diff --git a/txtgameengine/builtin_shaders/basic/fragment.glsl b/txtgameengine/builtin_shaders/basic/fragment.glsl
deleted file mode 100644
index a9dfa6f..0000000
--- a/txtgameengine/builtin_shaders/basic/fragment.glsl
+++ /dev/null
@@ -1,6 +0,0 @@
-#version 330 core
-
-out vec4 fragColor;
-void main() {
- fragColor = vec4(0, 0, 1, 1);
-} \ No newline at end of file
diff --git a/txtgameengine/builtin_shaders/basic/vertex.glsl b/txtgameengine/builtin_shaders/basic/vertex.glsl
deleted file mode 100644
index 92f7c97..0000000
--- a/txtgameengine/builtin_shaders/basic/vertex.glsl
+++ /dev/null
@@ -1,7 +0,0 @@
-#version 330 core
-
-layout(location = 0) in vec2 vertexPosition_modelspace;
-
-void main() {
- gl_Position = vec4(vertexPosition_modelspace, 0, 1);
-}
diff --git a/txtgameengine/builtin_shaders/texture/fragment.glsl b/txtgameengine/builtin_shaders/texture/fragment.glsl
deleted file mode 100644
index d9d36fd..0000000
--- a/txtgameengine/builtin_shaders/texture/fragment.glsl
+++ /dev/null
@@ -1,12 +0,0 @@
-#version 330 core
-
-in vec2 UV;
-
-out vec3 color;
-
-uniform sampler2D textureSampler;
-
-void main() {
- color = texture(textureSampler, UV).rgb;
-}
-
diff --git a/txtgameengine/builtin_shaders/texture/vertex.glsl b/txtgameengine/builtin_shaders/texture/vertex.glsl
deleted file mode 100644
index dd93afb..0000000
--- a/txtgameengine/builtin_shaders/texture/vertex.glsl
+++ /dev/null
@@ -1,12 +0,0 @@
-#version 330 core
-
-layout(location=0) in vec3 vertexPosition_modelspace;
-layout(location=1) in vec2 vertexUV;
-
-out vec2 UV;
-
-void main() {
- gl_Position = vec4(vertexPosition_modelspace, 1);
- UV = vertexUV;
-}
-