Переглянути джерело

Update PBRLightingUtils.glsllib

Ryan McDonough 7 місяців тому
батько
коміт
9f6a16833a

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

@@ -339,7 +339,7 @@
             #endif
             surface.normal = normalize(tbnMat * normal);
         #else 
-            surface.normal = normal;
+            surface.normal = surface.geometryNormal;
         #endif
         
         //spec gloss tex reads: