fixed error where I accidentally used the diffusemap as a specular map
This commit is contained in:
parent
da0815ac8b
commit
f5469d85e1
|
@ -254,7 +254,7 @@ int main()
|
||||||
//lighting->SetFloat("spotLight.quadratic", 0.032f);
|
//lighting->SetFloat("spotLight.quadratic", 0.032f);
|
||||||
|
|
||||||
diffuseMap.BindTexture();
|
diffuseMap.BindTexture();
|
||||||
diffuseMap.BindTexture(GL_TEXTURE1);
|
specularMap.BindTexture(GL_TEXTURE1);
|
||||||
|
|
||||||
for (size_t i = 0; i < allObjects.size(); i++)
|
for (size_t i = 0; i < allObjects.size(); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user