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