ソースを参照

Update PBRLighting.frag

added missing uniform to .frag shader
Ryan McDonough 1 年間 前
コミット
0eaceb578a

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