summaryrefslogtreecommitdiff
path: root/data/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'data/shaders')
-rw-r--r--data/shaders/pbr-frag.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl
index 5998474..a941a29 100644
--- a/data/shaders/pbr-frag.glsl
+++ b/data/shaders/pbr-frag.glsl
@@ -219,7 +219,7 @@ vec3 materialNormal() {
return normalize(TBN * tangentNormal);
} else {
- return fragNormal;
+ return normalize(fragNormal);
}
}