summaryrefslogtreecommitdiff
path: root/data/shaders/pbr-frag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'data/shaders/pbr-frag.glsl')
-rw-r--r--data/shaders/pbr-frag.glsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl
index 0986840..33c0616 100644
--- a/data/shaders/pbr-frag.glsl
+++ b/data/shaders/pbr-frag.glsl
@@ -26,12 +26,12 @@ struct Light {
};
#ifdef GLSL120
-attribute vec3 fragWorldPos;
-attribute vec3 fragNormal;
-attribute vec3 fragTangent;
-attribute vec2 fragTexcoord0;
-attribute vec2 fragTexcoord1;
-attribute vec4 fragColor0;
+varying vec3 fragWorldPos;
+varying vec3 fragNormal;
+varying vec3 fragTangent;
+varying vec2 fragTexcoord0;
+varying vec2 fragTexcoord1;
+varying vec4 fragColor0;
#else
in vec3 fragWorldPos;
in vec3 fragNormal;