Fixed specular color not being applied

Former-commit-id: ab41e431e2f9ec0f9b3cd81d032f6218c7114c5b
This commit is contained in:
Lynix
2013-01-05 01:54:14 +01:00
parent dba9470baf
commit 29755989fd

View File

@@ -95,7 +95,7 @@ void NzMaterial::Apply() const
shader->SendFloat(shininessLocation, m_shininess);
if (specularColorLocation != -1)
shader->SendColor(ambientColorLocation, m_specularColor);
shader->SendColor(specularColorLocation, m_specularColor);
if (m_specularMap)
{