summaryrefslogtreecommitdiff
path: root/data/shaders/pbr-frag.glsl
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-05-14 21:25:45 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-05-14 21:32:11 -0400
commit54b96b2bac0b4f0b31e5ddac79ca7e9f67c6985e (patch)
tree20de3092fda2f528fa4189bfde2b8d36b6deb38e /data/shaders/pbr-frag.glsl
parent21e52beb2937d0aee8894d318104d7de6ae31c31 (diff)
graphics: pbr: Add placeholder inputs/outputs to shaders.
Diffstat (limited to 'data/shaders/pbr-frag.glsl')
-rw-r--r--data/shaders/pbr-frag.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl
index e2841fe..5998474 100644
--- a/data/shaders/pbr-frag.glsl
+++ b/data/shaders/pbr-frag.glsl
@@ -32,12 +32,14 @@ struct Light {
#ifdef GLSL120
attribute vec3 fragWorldPos;
attribute vec3 fragNormal;
+attribute vec3 fragTangent;
attribute vec2 fragTexcoord0;
attribute vec2 fragTexcoord1;
attribute vec4 fragColor0;
#else
in vec3 fragWorldPos;
in vec3 fragNormal;
+in vec3 fragTangent;
in vec2 fragTexcoord0;
in vec2 fragTexcoord1;
in vec4 fragColor0;