Browse Source

Bug: PBRLightingUtils.glsllib - Typo in GlossinessMap (#2586)

Wyatt Gillette 3 days ago
parent
commit
5f61cc5e10

+ 2 - 1
jme3-core/src/main/resources/Common/ShaderLib/module/pbrlighting/PBRLightingUtils.glsllib

@@ -395,7 +395,7 @@
                         vec4 specularColor = vec4(1.0);
                     #endif
                     #ifdef GLOSSINESSMAP
-                        glossiness *= texture2D(m_GlossinesMap, newTexCoord).r;
+                        glossiness *= texture2D(m_GlossinessMap, newTexCoord).r;
                     #endif
                 #endif
                 specularColor *= m_Specular;
@@ -711,3 +711,4 @@
     }
 
 #endif
+