summaryrefslogtreecommitdiff
path: root/data/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'data/shaders')
-rw-r--r--data/shaders/pbr-vert.glsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/shaders/pbr-vert.glsl b/data/shaders/pbr-vert.glsl
index adbcdc5..76989a4 100644
--- a/data/shaders/pbr-vert.glsl
+++ b/data/shaders/pbr-vert.glsl
@@ -2,26 +2,26 @@
#ifdef GLSL330
layout (location = 0) in vec3 position;
-layout (location = 1) in vec3 normal;
-layout (location = 2) in vec3 tangent;
-layout (location = 3) in vec2 texcoord0;
+layout (location = 1) in vec2 texcoord0;
+layout (location = 2) in vec3 normal;
+layout (location = 3) in vec3 tangent;
layout (location = 4) in vec2 texcoord1;
layout (location = 5) in vec4 color0;
layout (location = 6) in vec4 joint;
layout (location = 7) in vec4 weight;
#elif defined(GLSL130)
in vec3 position;
+in vec2 texcoord0;
in vec3 normal;
in vec3 tangent;
-in vec2 texcoord0;
in vec2 texcoord1;
in vec4 color0;
in vec4 joint;
#elif defined(GLSL120)
attribute vec3 position;
+attribute vec2 texcoord0;
attribute vec3 normal;
attribute vec3 tangent;
-attribute vec2 texcoord0;
attribute vec2 texcoord1;
attribute vec4 color0;
attribute vec4 weight;