set default material for geometry to baseColorIndex 0
This commit is contained in:
1 parent
3b2d7d8c47
commit
10826466a4
1 file changed
+1
-1
@@ -2580,7 +2580,7 @@ EntityId SceneManager::createGeometry(
|
||||
return nullptr;
|
||||
}
|
||||
materialInstance->setParameter("baseColorFactor", RgbaType::sRGB, filament::math::float4{0.0f, 1.0f, 1.0f, 1.0f});
|
||||
materialInstance->setParameter("baseColorIndex", -1);
|
||||
materialInstance->setParameter("baseColorIndex", 0);
|
||||
return materialInstance;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user