Bläddra i källkod

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

Wyatt Gillette 3 dagar sedan
förälder
incheckning
5f61cc5e10

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

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