diff options
Diffstat (limited to 'data/shaders/pbr-frag.glsl')
-rw-r--r-- | data/shaders/pbr-frag.glsl | 2 |
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; |