Fixed so OBJ-loader now loads map_Bump options correctly.
This commit is contained in:
+1
-1
@@ -268,7 +268,7 @@ void OBJ::ParseMaterial()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Normal map (bump map)
|
// Normal map (bump map)
|
||||||
if (prefix == "bump")
|
if (prefix == "bump" || prefix == "map_Bump" )
|
||||||
{
|
{
|
||||||
MaterialInfo::BumpMap bumpMap;
|
MaterialInfo::BumpMap bumpMap;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user