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
1 changed files with 1 additions and 1 deletions

View File

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