mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-27 08:13:18 +00:00
remove texture applying on model with complex materials
This commit is contained in:
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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>>();
|
||||
|
||||
Reference in New Issue
Block a user