fixed error where I accidentally used the diffusemap as a specular map
This commit is contained in:
		| @ -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++) | ||||||
| 		{ | 		{ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user