Fix a typo which made pbr shader fail to compile
This commit is contained in:
parent
0cc97f5653
commit
ce79df9370
@ -272,7 +272,7 @@ void main(){
|
|||||||
vec4 specularColor = vec4(1.0);
|
vec4 specularColor = vec4(1.0);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GLOSSINESSMAP
|
#ifdef GLOSSINESSMAP
|
||||||
float glossiness = texture2D(m_GlossinesMap, newTexCoord).r * m_Glossiness;
|
float glossiness = texture2D(m_GlossinessMap, newTexCoord).r * m_Glossiness;
|
||||||
#else
|
#else
|
||||||
float glossiness = m_Glossiness;
|
float glossiness = m_Glossiness;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user