Changed cube texture

This commit is contained in:
Robert 2021-01-30 01:10:24 +01:00
parent 4c73eb29cc
commit a2a11df85e
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

View file

@ -172,8 +172,8 @@ int main(int argc, char** argv)
//cubeMaterial->AddProperty("ambient", oglu::Color::White);
cubeMaterial->AddProperty("shininess", 32.f);
cubeMaterial->AddProperty("diffuse", oglu::MakeTexture("assets/metalbox_diffuse.png"));
cubeMaterial->AddProperty("specular", oglu::MakeTexture("assets/metalbox_bump.png"));
cubeMaterial->AddProperty("diffuse", oglu::MakeTexture("assets/tiles_diffuse.jpg"));
cubeMaterial->AddProperty("specular", oglu::MakeTexture("assets/tiles_bump.jpg"));
oglu::Object cubes[10] = {
oglu::Object(cubeDefault),