summaryrefslogtreecommitdiff
path: root/res/basicShader.vs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-17 19:36:30 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-17 22:16:48 +0000
commit0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c (patch)
tree68a80976a247836bbb1eecc835af437e3489fbb7 /res/basicShader.vs
parentFirst cut modernizing and sanitizing (diff)
downloadilt-0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c.tar.bz2
ilt-0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c.tar.xz
ilt-0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c.zip
Big reshuffle
Fixes code quality warnings now picked up.
Diffstat (limited to 'res/basicShader.vs')
-rw-r--r--res/basicShader.vs18
1 files changed, 0 insertions, 18 deletions
diff --git a/res/basicShader.vs b/res/basicShader.vs
deleted file mode 100644
index e673548..0000000
--- a/res/basicShader.vs
+++ /dev/null
@@ -1,18 +0,0 @@
-#version 120
-
-attribute vec3 position;
-attribute vec2 texCoord;
-attribute vec3 normal;
-
-varying vec2 texCoord0;
-varying vec3 normal0;
-
-uniform mat4 MVP;
-uniform mat4 Normal;
-
-void main()
-{
- gl_Position = MVP * vec4(position, 1.0);
- texCoord0 = texCoord;
- normal0 = (Normal * vec4(normal, 0.0)).xyz;
-}