summaryrefslogtreecommitdiffstats
path: root/src/extras/shaders/default_UV2.vert
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-18 10:32:18 +0100
committeraap <aap@papnet.eu>2020-11-18 10:32:18 +0100
commit8c70c2a136d6412e27550c1c2584d972f9d9812a (patch)
tree0776cacdebdfe418bb4712836cd72d2c9fb5c837 /src/extras/shaders/default_UV2.vert
parentMerge pull request #821 from aap/miami (diff)
downloadre3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar.gz
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar.bz2
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar.lz
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar.xz
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.tar.zst
re3-8c70c2a136d6412e27550c1c2584d972f9d9812a.zip
Diffstat (limited to 'src/extras/shaders/default_UV2.vert')
-rw-r--r--src/extras/shaders/default_UV2.vert14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/extras/shaders/default_UV2.vert b/src/extras/shaders/default_UV2.vert
index 3dbad20f..694c012b 100644
--- a/src/extras/shaders/default_UV2.vert
+++ b/src/extras/shaders/default_UV2.vert
@@ -1,13 +1,9 @@
-layout(location = 0) in vec3 in_pos;
-layout(location = 1) in vec3 in_normal;
-layout(location = 2) in vec4 in_color;
-layout(location = 3) in vec2 in_tex0;
-layout(location = 4) in vec2 in_tex1;
+VSIN(ATTRIB_POS) vec3 in_pos;
-out vec4 v_color;
-out vec2 v_tex0;
-out vec2 v_tex1;
-out float v_fog;
+VSOUT vec4 v_color;
+VSOUT vec2 v_tex0;
+VSOUT vec2 v_tex1;
+VSOUT float v_fog;
void
main(void)