Fix a typo which made pbr shader fail to compile
This commit is contained in:
parent
e7845e37ea
commit
1c8a8f2355
@ -181,7 +181,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