summaryrefslogtreecommitdiffstats
path: root/src/view/renderer/shaders
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
commitb3950330e3351437f153c6c1debb3821d6e28864 (patch)
tree0b381b523045bd59cd679825a11976a45813fc24 /src/view/renderer/shaders
parent439dcf391784ea3abb61473c74b9c27fcd9fdc2d (diff)
downloadrpgedit-b3950330e3351437f153c6c1debb3821d6e28864.tar
rpgedit-b3950330e3351437f153c6c1debb3821d6e28864.zip
Create Electron app
Diffstat (limited to 'src/view/renderer/shaders')
-rw-r--r--src/view/renderer/shaders/default.fs10
-rw-r--r--src/view/renderer/shaders/default.vs13
2 files changed, 0 insertions, 23 deletions
diff --git a/src/view/renderer/shaders/default.fs b/src/view/renderer/shaders/default.fs
deleted file mode 100644
index 2c8ad15..0000000
--- a/src/view/renderer/shaders/default.fs
+++ /dev/null
@@ -1,10 +0,0 @@
-precision highp float;
-
-varying vec2 vTextureCoord;
-
-uniform sampler2D uSampler;
-
-
-void main(void) {
- gl_FragColor = texture2D(uSampler, vTextureCoord);
-}
diff --git a/src/view/renderer/shaders/default.vs b/src/view/renderer/shaders/default.vs
deleted file mode 100644
index 4715a17..0000000
--- a/src/view/renderer/shaders/default.vs
+++ /dev/null
@@ -1,13 +0,0 @@
-attribute vec2 aVertexPos;
-attribute vec2 aTextureCoord;
-
-uniform mat4 uViewport;
-uniform vec2 uTranslate;
-
-varying highp vec2 vTextureCoord;
-
-
-void main(void) {
- gl_Position = uViewport * vec4(aVertexPos + uTranslate, 0.0, 1.0);
- vTextureCoord = aTextureCoord;
-}