remove texture applying on model with complex materials

This commit is contained in:
arthur.jamet
2021-06-04 11:09:20 +02:00
parent 49c9c666db
commit da972a36e8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,4 +55,4 @@ f 7/18/5 1/19/5 5/20/5
f 5/20/5 1/19/5 3/21/5
usemtl Material.001
f 3/22/6 4/23/6 5/24/6
f 5/24/6 4/23/6 6/25/6
f 5/24/6 4/23/6 6/25/6
+1 -1
View File
@@ -127,7 +127,7 @@ namespace BBM
scene->addEntity("Upper Floor")
.addComponent<PositionComponent>(Vector3f(coords))
//.addComponent<CollisionComponent>(1)
.addComponent<Drawable3DComponent<RAY3D::Model>>(floorObj, std::make_pair(MAP_DIFFUSE, floorPng));
.addComponent<Drawable3DComponent<RAY3D::Model>>(floorObj);
}
+1 -1
View File
@@ -53,7 +53,7 @@ namespace BBM
void enableRaylib(WAL::Wal &wal)
{
RAY::TraceLog::setLevel(LOG_WARNING);
//RAY::TraceLog::setLevel(LOG_WARNING);
RAY::Window &window = RAY::Window::getInstance(600, 400, "Bomberman", FLAG_WINDOW_RESIZABLE);
wal.addSystem<Renderer3DSystem<RAY3D::Model>>();