summaryrefslogtreecommitdiff
path: root/frontend/_shared/2d/shaders
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-05-16 19:50:15 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-05-16 19:50:15 -0400
commita00c0aab1eb5a7a55bef8ca08115bdd722ab5699 (patch)
tree45b5c4cc8c380d0630a8e0185af7229f26dc754a /frontend/_shared/2d/shaders
parent4941a1874b6ca9d142d94df70b2aec5e0b35b94e (diff)
Moved the frontend directory up so that it no longer exists
Diffstat (limited to 'frontend/_shared/2d/shaders')
-rw-r--r--frontend/_shared/2d/shaders/orthographic.frag5
-rw-r--r--frontend/_shared/2d/shaders/orthographic.vert13
2 files changed, 0 insertions, 18 deletions
diff --git a/frontend/_shared/2d/shaders/orthographic.frag b/frontend/_shared/2d/shaders/orthographic.frag
deleted file mode 100644
index 84b6b2e..0000000
--- a/frontend/_shared/2d/shaders/orthographic.frag
+++ /dev/null
@@ -1,5 +0,0 @@
-varying lowp vec4 VertexColor;
-
-void main() {
- gl_FragColor = VertexColor;
-} \ No newline at end of file
diff --git a/frontend/_shared/2d/shaders/orthographic.vert b/frontend/_shared/2d/shaders/orthographic.vert
deleted file mode 100644
index 0356f9c..0000000
--- a/frontend/_shared/2d/shaders/orthographic.vert
+++ /dev/null
@@ -1,13 +0,0 @@
-attribute vec2 position;
-attribute vec4 color;
-
-uniform mat4 projection;
-uniform mat4 model;
-
-varying lowp vec4 VertexColor;
-
-void main() {
- vec4 fragmentPosition = projection * model * vec4(position, 1, 1);
- gl_Position = fragmentPosition;
- VertexColor = color;
-} \ No newline at end of file