aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/main
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/main')
-rw-r--r--shaders/main/frag.glsl9
-rw-r--r--shaders/main/vert.glsl9
2 files changed, 2 insertions, 16 deletions
diff --git a/shaders/main/frag.glsl b/shaders/main/frag.glsl
index f6ed7c3..9f8c5de 100644
--- a/shaders/main/frag.glsl
+++ b/shaders/main/frag.glsl
@@ -1,14 +1,7 @@
/*
- * Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
+ * Copyright (C) 2018, 2022 Tomasz Kramkowski <tk@the-tk.com>
* SPDX-License-Identifier: MIT
*/
-in iface {
- vec3 norm;
- vec3 pos;
- vec2 uv;
- vec3 lipos;
-} i;
-
void main()
{
vec3 fdiff = vec3(texture(tdiff, i.uv));
diff --git a/shaders/main/vert.glsl b/shaders/main/vert.glsl
index 3b145e3..39bfc1b 100644
--- a/shaders/main/vert.glsl
+++ b/shaders/main/vert.glsl
@@ -1,14 +1,7 @@
/*
- * Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
+ * Copyright (C) 2018, 2022 Tomasz Kramkowski <tk@the-tk.com>
* SPDX-License-Identifier: MIT
*/
-out iface {
- vec3 norm;
- vec3 pos;
- vec2 uv;
- vec3 lipos;
-} o;
-
void main()
{
gl_Position = proj * view * model * vec4(pos, 1.0);