Преглед на файлове

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.