Skip to content

Commit 3fd62fd

Browse files
authored
Fix embedded roughness texture loading for FBX materials (#733)
1 parent c3aad7f commit 3fd62fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/OvRendering/src/OvRendering/Resources/Parsers/AssimpParser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ namespace
4646
};
4747

4848
constexpr std::array kRoughnessTextureTypes{
49-
aiTextureType_DIFFUSE_ROUGHNESS
49+
aiTextureType_DIFFUSE_ROUGHNESS,
50+
aiTextureType_SHININESS
5051
};
5152

5253
constexpr std::array kAmbientOcclusionTextureTypes{

0 commit comments

Comments
 (0)