Skip to content

Commit 3d6a504

Browse files
authored
Update PBRLightingUtils.glsllib
1 parent 5dd4869 commit 3d6a504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@
338338
vec3 normal = normalize((normalHeight.xyz * vec3(2.0, NORMAL_TYPE * 2.0, 2.0) - vec3(1.0, NORMAL_TYPE * 1.0, 1.0)));
339339
#endif
340340
surface.normal = normalize(tbnMat * normal);
341+
#else
342+
surface.normal = normal;
341343
#endif
342344

343345
//spec gloss tex reads:

0 commit comments

Comments
 (0)