Skip to content

Commit 9f6a168

Browse files
authored
Update PBRLightingUtils.glsllib
1 parent 3d6a504 commit 9f6a168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jme3-core/src/main/resources/Common/ShaderLib/module/pbrlighting/PBRLightingUtils.glsllib

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
#endif
340340
surface.normal = normalize(tbnMat * normal);
341341
#else
342-
surface.normal = normal;
342+
surface.normal = surface.geometryNormal;
343343
#endif
344344

345345
//spec gloss tex reads:

0 commit comments

Comments
 (0)