fixed error where I accidentally used the diffusemap as a specular map

This commit is contained in:
Daniel 2023-09-19 15:15:46 +02:00
parent da0815ac8b
commit f5469d85e1

View File

@ -254,7 +254,7 @@ int main()
//lighting->SetFloat("spotLight.quadratic", 0.032f);
diffuseMap.BindTexture();
diffuseMap.BindTexture(GL_TEXTURE1);
specularMap.BindTexture(GL_TEXTURE1);
for (size_t i = 0; i < allObjects.size(); i++)
{