diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-10-16 19:31:21 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-10-16 19:31:21 +0100 |
commit | a59203b2ebc4f8671d04b743f0c9eb4f40170f3e (patch) | |
tree | 82a5658d110f0c16770ded2cf20f78484b31bf27 /shaders/main | |
parent | 926998d3d8c671c55e6a7fe6c6fa88f6512ccb46 (diff) | |
download | faqe-master.tar.gz faqe-master.tar.xz faqe-master.zip |
Diffstat (limited to 'shaders/main')
-rw-r--r-- | shaders/main/frag.glsl | 9 | ||||
-rw-r--r-- | shaders/main/vert.glsl | 9 |
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); |