소스 검색

Update PBRLighting.frag

added missing uniform to .frag shader
Ryan McDonough 1 년 전
부모
커밋
0eaceb578a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.frag

+ 5 - 0
jme3-core/src/main/resources/Common/MatDefs/Light/PBRLighting.frag

@@ -10,10 +10,15 @@ vec2 newTexCoord;
     uniform float m_AlphaDiscardThreshold;
 #endif
 
+#ifdef DEBUG_VALUES_MODE
+    uniform int m_DebugValuesMode;
+#endif
+
 varying vec3 wPosition;
 varying vec3 wNormal;
 varying vec4 wTangent;
 
+
 #import "Common/ShaderLib/PBRLightingParamsReader.glsllib"
 #import "Common/ShaderLib/PBRLighting.glsllib"
 // It is important that these 2 glsllibs are referenced AFTER the other variables above have been declared.