Browse Source

Update PBRLightingParamsReader.glsllib

added missing in/out to readMatParamsAndTextures
Ryan McDonough 1 year ago
parent
commit
65bd8e7b34

+ 1 - 1
jme3-core/src/main/resources/Common/ShaderLib/PBRLightingParamsReader.glsllib

@@ -71,7 +71,7 @@ uniform float m_Metallic;
     uniform float m_StaticSunIntensity;
 #endif
 
-void readMatParamsAndTextures(in mat3 tbnMat, in vec3 vViewDir, inout vec4 albedo, inout float Metallic, inout float Roughness, inout vec4 SpecularColor, inout float glossiness, inout vec3 lightMapColor, inout vec3 ao, inout vec3 normal, inout vec4 emissive, inout float alpha){
+void readMatParamsAndTextures(in mat3 tbnMat, in vec3 vViewDir, inout vec4 albedo, inout float Metallic, inout float Roughness, inout vec4 SpecularColor, inout float glossiness, inout vec3 lightMapColor, inout vec3 ao, inout float indoorSunLightExposure, inout vec3 normal, inout vec4 emissive, inout float alpha){
     #if (defined(PARALLAXMAP) || (defined(NORMALMAP_PARALLAX) && defined(NORMALMAP)))
         #ifdef STEEP_PARALLAX
             #ifdef NORMALMAP_PARALLAX