Skip to content

Commit

Permalink
Updated Material.cpp to add missing cases (#5945)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyjackel authored Jan 6, 2025
1 parent a4d8a5f commit 2f40a77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/Common/material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ const char *aiTextureTypeToString(aiTextureType in) {
return "Clearcoat";
case aiTextureType_TRANSMISSION:
return "Transmission";
case aiTextureType_MAYA_BASE:
return "MayaBase";
case aiTextureType_MAYA_SPECULAR:
return "MayaSpecular";
case aiTextureType_MAYA_SPECULAR_COLOR:
return "MayaSpecularColor";
case aiTextureType_MAYA_SPECULAR_ROUGHNESS:
return "MayaSpecularRoughness";
case aiTextureType_UNKNOWN:
return "Unknown";
default:
Expand Down

0 comments on commit 2f40a77

Please sign in to comment.