Fix iw4 obj material file setting ambient map instead of diffuse map for color maps

This commit is contained in:
Jan committed 2021-08-01 02:18:18 +02:00
1 parent c1a30c89ac
commit 56ebbbcfa8
1 file changed
+1 -1
@@ -44,7 +44,7 @@ void AssetDumperXModel::DumpObjMatMaterial(AssetDumpingContext& context, const M
}
if (colorMap)
stream << "map_Ka " << colorMap->name << ".dds\n";
stream << "map_Kd " << colorMap->name << ".dds\n";
if (normalMap)
stream << "map_bump " << normalMap->name << ".dds\n";