mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Fix iw4 obj material file setting ambient map instead of diffuse map for color maps
This commit is contained in:
parent
c1a30c89ac
commit
56ebbbcfa8
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user