Additional Marbletexture optimizing
This commit is contained in:
parent
b5e5289511
commit
cc64a524fc
BIN
Levels/Textures/Marbletexture.png
Normal file
BIN
Levels/Textures/Marbletexture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 MiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB |
2
level.cc
2
level.cc
@ -185,7 +185,7 @@ void Level::load() {
|
|||||||
|
|
||||||
//add player
|
//add player
|
||||||
Model marbleModel = Model("marbleSmooth.obj", 0.75f);
|
Model marbleModel = Model("marbleSmooth.obj", 0.75f);
|
||||||
Material marbleMaterial = Material("marbleTexture_small.png", 0.1f, 0.5f, 0.5f, 3.0f);
|
Material marbleMaterial = Material("marbletexture.png", 0.1f, 0.5f, 0.5f, 3.0f);
|
||||||
Object* object = new Object(marbleModel, marbleMaterial, glm::vec3(2.0f, 10.0f, 2.0f),
|
Object* object = new Object(marbleModel, marbleMaterial, glm::vec3(2.0f, 10.0f, 2.0f),
|
||||||
glm::vec3(0.0f, 0.0f, 0.0f));
|
glm::vec3(0.0f, 0.0f, 0.0f));
|
||||||
objects.push_back(object);
|
objects.push_back(object);
|
||||||
|
Loading…
Reference in New Issue
Block a user