소스 검색

Update PBRLightingUtils.glsllib

Ryan McDonough 7 달 전
부모
커밋
9f6a16833a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jme3-core/src/main/resources/Common/ShaderLib/module/pbrlighting/PBRLightingUtils.glsllib

+ 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: