mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 06:49:28 -05:00
Fix iw4 obj material file setting ambient map instead of diffuse map for color maps
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user