Skip to content

Commit dcd54ba

Browse files
committed
fix extrusion side of normal map if tangent used
1 parent ac4b688 commit dcd54ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/display/NormalMapNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class NormalMapNode extends TempNode {
113113

114114
if ( tangent === true ) {
115115

116-
outputNode = TBNViewMatrix.mul( normalMap ).normalize();
116+
outputNode = TBNViewMatrix.mul( vec3( normalMap ) ).normalize();
117117

118118
} else {
119119

0 commit comments

Comments
 (0)