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

This commit is contained in:
Jan 2021-08-01 02:18:18 +02:00
parent c1a30c89ac
commit 56ebbbcfa8

View File

@ -44,7 +44,7 @@ void AssetDumperXModel::DumpObjMatMaterial(AssetDumpingContext& context, const M
} }
if (colorMap) if (colorMap)
stream << "map_Ka " << colorMap->name << ".dds\n"; stream << "map_Kd " << colorMap->name << ".dds\n";
if (normalMap) if (normalMap)
stream << "map_bump " << normalMap->name << ".dds\n"; stream << "map_bump " << normalMap->name << ".dds\n";