From 2f40a77ae1b8bc1cd1c0b608394bb83c490fa753 Mon Sep 17 00:00:00 2001 From: Jackson Levitt <47047592+crazyjackel@users.noreply.github.com> Date: Mon, 6 Jan 2025 06:02:55 -0600 Subject: [PATCH] Updated Material.cpp to add missing cases (#5945) --- code/Common/material.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/Common/material.cpp b/code/Common/material.cpp index 76676ec1a..70657d7d6 100644 --- a/code/Common/material.cpp +++ b/code/Common/material.cpp @@ -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: