Fixed specular color not being applied
Former-commit-id: ab41e431e2f9ec0f9b3cd81d032f6218c7114c5b
This commit is contained in:
parent
dba9470baf
commit
29755989fd
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue